diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-07-04 15:13:28 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-07-04 15:13:28 +0000 |
commit | baadce09a627f7c55659c59a1009a8812111c42a (patch) | |
tree | 1c4590a3474d29164c08610a6b892d861cc7c8f9 /gdb/i386bsd-tdep.c | |
parent | 2404952e63ce440e3b9896f20256887d9d888c63 (diff) | |
download | gdb-baadce09a627f7c55659c59a1009a8812111c42a.zip gdb-baadce09a627f7c55659c59a1009a8812111c42a.tar.gz gdb-baadce09a627f7c55659c59a1009a8812111c42a.tar.bz2 |
* i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):
New variables.
(i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start
and tdep->sigtramp_end.
* i386obsd-nat.c: New file.
* config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o.
Diffstat (limited to 'gdb/i386bsd-tdep.c')
-rw-r--r-- | gdb/i386bsd-tdep.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/i386bsd-tdep.c b/gdb/i386bsd-tdep.c index 61213ff..ea96ee4 100644 --- a/gdb/i386bsd-tdep.c +++ b/gdb/i386bsd-tdep.c @@ -113,6 +113,9 @@ i386bsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* NetBSD 1.0 or later. */ +CORE_ADDR i386nbsd_sigtramp_start = 0xbfbfdf20; +CORE_ADDR i386nbsd_sigtramp_end = 0xbfbfdff0; + /* From <machine/signal.h>. */ int i386nbsd_sc_pc_offset = 44; int i386nbsd_sc_sp_offset = 56; @@ -129,8 +132,8 @@ i386nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tdep->struct_return = reg_struct_return; /* NetBSD uses a different memory layout. */ - tdep->sigtramp_start = 0xbfbfdf20; - tdep->sigtramp_end = 0xbfbfdff0; + tdep->sigtramp_start = i386nbsd_sigtramp_start; + tdep->sigtramp_end = i386nbsd_sigtramp_end; /* NetBSD has a `struct sigcontext' that's different from the origional 4.3 BSD. */ |