* config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
authorMark Kettenis <kettenis@gnu.org>
Sat, 14 Jul 2001 11:55:29 +0000 (11:55 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 14 Jul 2001 11:55:29 +0000 (11:55 +0000)
* config/i386/nm-linux.h: ...to here.  Change comments about user
area/struct a bit.

gdb/ChangeLog
gdb/config/i386/nm-linux.h
gdb/config/i386/xm-linux.h

index 1a6c943e684a0c93e6e7f7081161f3efd18711de..dbe12a4e933086473f786ddb83e3ec0ce53663c7 100644 (file)
@@ -1,5 +1,9 @@
 2001-07-14  Mark Kettenis  <kettenis@gnu.org>
 
+       * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
+       * config/i386/nm-linux.h: ...to here.  Change comments about user
+       area/struct a bit.
+
        * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
 
        * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
index 33c4cf5af764c5b77e964c08b8d12cde4323f75a..ab42ee59e56e2c8cc15be74a33be5ca564e42abc 100644 (file)
 #include "i386/nm-i386.h"
 #include "nm-linux.h"
 
-/* Return sizeof user struct to callers in less machine dependent
-   routines.  */
+/* Support for the user area.  */
 
+/* Return the size of the user struct.  */
 extern int kernel_u_size (void);
 #define KERNEL_U_SIZE kernel_u_size()
 
+/* This is the amount to substract from u.u_ar0 to get the offset in
+   the core file of the register values.  */
+#define KERNEL_U_ADDR 0
+
+/* Offset of the registers within the user area.  */
 #define U_REGS_OFFSET 0
 
 extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regnum);
 #define REGISTER_U_ADDR(addr, blockend, regnum) \
   (addr) = register_u_addr (blockend, regnum)
-
+\f
 /* Provide access to the i386 hardware debugging registers.  */
 
 extern void i386_linux_dr_set_control (unsigned long control);
index 09683962c69c3fe698327edc5bf1b8988797742c..dd3e2806197565b0879214200cb712156a2606c7 100644 (file)
 
 #define HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext
 
-/* 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 0x0
-
 #define NEED_POSIX_SETPGID
 
 /* Need R_OK etc, but USG isn't defined.  */
This page took 0.033463 seconds and 4 git commands to generate.