diff options
author | bde <bde@FreeBSD.org> | 1998-01-18 11:51:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-01-18 11:51:48 +0000 |
commit | 4c528f38b0d9a62f694d5c015a8ef51c2916a6c1 (patch) | |
tree | 12c302e94dd84bc8ecc84ea97b899ded233ede89 /gnu | |
parent | a76ade94a20ed8dc3e746f0463b887c9758e2b0c (diff) | |
download | FreeBSD-src-4c528f38b0d9a62f694d5c015a8ef51c2916a6c1.zip FreeBSD-src-4c528f38b0d9a62f694d5c015a8ef51c2916a6c1.tar.gz |
Fixed sloppy definitions of SIGTRAMP_START and SIGTRAMP_END. The old
range was a little too large.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/gdb/i386/tm.h | 11 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/gdb/tm.h | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386/tm.h b/gnu/usr.bin/binutils/gdb/i386/tm.h index 5ad8e76..6f5fc91 100644 --- a/gnu/usr.bin/binutils/gdb/i386/tm.h +++ b/gnu/usr.bin/binutils/gdb/i386/tm.h @@ -61,10 +61,13 @@ extern CORE_ADDR fbsd_kern_frame_saved_pc (struct frame_info *); : read_memory_integer ((FRAME)->frame + 4, 4)) \ )) -/* Sigtramp is not the same address as BSD/OS.. */ +/* On FreeBSD, sigtramp has size 0x18 and is immediately below the + ps_strings struct which has size 0x10 and is at the top of the + user stack. */ + #undef SIGTRAMP_START #undef SIGTRAMP_END -#define SIGTRAMP_START 0xefbfdfc0 -#define SIGTRAMP_END 0xefbfe000 +#define SIGTRAMP_START 0xefbfdfd8 +#define SIGTRAMP_END 0xefbfdff0 -#endif /* TM_FBSD_H */ +#endif /* ifndef TM_FBSD_H */ diff --git a/gnu/usr.bin/gdb/gdb/tm.h b/gnu/usr.bin/gdb/gdb/tm.h index 5ad8e76..6f5fc91 100644 --- a/gnu/usr.bin/gdb/gdb/tm.h +++ b/gnu/usr.bin/gdb/gdb/tm.h @@ -61,10 +61,13 @@ extern CORE_ADDR fbsd_kern_frame_saved_pc (struct frame_info *); : read_memory_integer ((FRAME)->frame + 4, 4)) \ )) -/* Sigtramp is not the same address as BSD/OS.. */ +/* On FreeBSD, sigtramp has size 0x18 and is immediately below the + ps_strings struct which has size 0x10 and is at the top of the + user stack. */ + #undef SIGTRAMP_START #undef SIGTRAMP_END -#define SIGTRAMP_START 0xefbfdfc0 -#define SIGTRAMP_END 0xefbfe000 +#define SIGTRAMP_START 0xefbfdfd8 +#define SIGTRAMP_END 0xefbfdff0 -#endif /* TM_FBSD_H */ +#endif /* ifndef TM_FBSD_H */ |