* config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ...
* config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ...
* config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ...
* config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here.
* config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ...
* config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.
2004-07-29 Andrew Cagney <cagney@gnu.org>
+ * config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ...
+ * config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ...
+ * config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ...
+ * config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here.
+ * config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ...
+ * config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.
+
* config/powerpc/xm-linux.h: Delete empty file.
* config/powerpc/ppc64-linux.mh (XM_FILE): Delete.
* config/powerpc/linux.mh (XM_FILE): Delete.
#define REGISTER_U_ADDR(addr, blockend, regnum) \
(addr) = register_u_addr ((blockend), (regnum))
extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regnum);
-\f
+
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+#define KERNEL_U_ADDR 0xe0000000
/* Number of traps that happen between exec'ing the shell to run an
inferior, and when we finally get to the inferior code. This is 2
/* Poll causes GDB to hang, at least under Unixware 1.1.2. */
#define LOSING_POLL
+
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+#define KERNEL_U_ADDR 0xe0000000
/* Return whether PID contains a user-space thread id. */
#define ISTID(PID) (ptid_get_tid (PID))
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+#define KERNEL_U_ADDR 0xe0000000
+
#endif /* NM_I386V42MP_H */
#define USG
#define HAVE_TERMIO
-
-/* This is the amount to subtract from u.u_ar0
- to get the offset in the core file of the register values. */
-
-#define KERNEL_U_ADDR 0xe0000000
#define AP_REGNUM 12 /* XXXJRT */
+/* This is the amount to subtract from u.u_ar0
+ to get the offset in the core file of the register values. */
+#define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG))
+
#define REGISTER_U_ADDR(addr, blockend, regno) \
{ addr = blockend - 0110 + regno * 4; \
if (regno == PC_REGNUM) addr = blockend - 8; \
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* This is the amount to subtract from u.u_ar0
- to get the offset in the core file of the register values. */
-
-#define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG))
-
/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
#define ONE_PROCESS_WRITETEXT