1b725ae77Skettenis /* IBM PowerPC native-dependent macros for GDB, the GNU debugger. 2b725ae77Skettenis Copyright 1995, 2000 Free Software Foundation, Inc. 3b725ae77Skettenis 4b725ae77Skettenis This file is part of GDB. 5b725ae77Skettenis 6b725ae77Skettenis This program is free software; you can redistribute it and/or modify 7b725ae77Skettenis it under the terms of the GNU General Public License as published by 8b725ae77Skettenis the Free Software Foundation; either version 2 of the License, or 9b725ae77Skettenis (at your option) any later version. 10b725ae77Skettenis 11b725ae77Skettenis This program is distributed in the hope that it will be useful, 12b725ae77Skettenis but WITHOUT ANY WARRANTY; without even the implied warranty of 13b725ae77Skettenis MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14b725ae77Skettenis GNU General Public License for more details. 15b725ae77Skettenis 16b725ae77Skettenis You should have received a copy of the GNU General Public License 17b725ae77Skettenis along with this program; if not, write to the Free Software 18b725ae77Skettenis Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 19b725ae77Skettenis 20b725ae77Skettenis #ifndef NM_LINUX_H 21b725ae77Skettenis 22b725ae77Skettenis #include "config/nm-linux.h" 23b725ae77Skettenis 24b725ae77Skettenis #define NM_LINUX_H 25b725ae77Skettenis 26b725ae77Skettenis /* Return sizeof user struct to callers in less machine dependent routines */ 27b725ae77Skettenis 28b725ae77Skettenis #define KERNEL_U_SIZE kernel_u_size() 29b725ae77Skettenis extern int kernel_u_size (void); 30b725ae77Skettenis 31*11efff7fSkettenis /* This is the amount to subtract from u.u_ar0 32*11efff7fSkettenis to get the offset in the core file of the register values. */ 33*11efff7fSkettenis #define KERNEL_U_ADDR 0x0 34*11efff7fSkettenis 35b725ae77Skettenis #define FETCH_INFERIOR_REGISTERS 36b725ae77Skettenis 37b725ae77Skettenis #endif /* #ifndef NM_LINUX_H */ 38