diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-07-14 11:55:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-07-14 11:55:29 +0000 |
commit | 1fe7ac855c6cc2928a44ca6c3b4986fa92ab06d0 (patch) | |
tree | 035ab4e347a5a97d9471be05d7fb4c8c814d15fe /gdb/config/i386/nm-linux.h | |
parent | d0f3ce3c532138673a39c28fa2d68c994ab122c1 (diff) | |
download | gdb-1fe7ac855c6cc2928a44ca6c3b4986fa92ab06d0.zip gdb-1fe7ac855c6cc2928a44ca6c3b4986fa92ab06d0.tar.gz gdb-1fe7ac855c6cc2928a44ca6c3b4986fa92ab06d0.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config/i386/nm-linux.h')
-rw-r--r-- | gdb/config/i386/nm-linux.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h index 33c4cf5..ab42ee5 100644 --- a/gdb/config/i386/nm-linux.h +++ b/gdb/config/i386/nm-linux.h @@ -29,18 +29,23 @@ #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) - + /* Provide access to the i386 hardware debugging registers. */ extern void i386_linux_dr_set_control (unsigned long control); |