diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-10-20 11:54:40 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-10-20 11:54:40 +0000 |
commit | 005328e3424c897b43ff0f6666bcf6f10efcb5d7 (patch) | |
tree | 12aed2097145e2a945bde79413fd297756b123c0 /gdb/i386obsd-nat.c | |
parent | 05e17ccd8e74de75c41860c56eb0557c37b67c35 (diff) | |
download | gdb-005328e3424c897b43ff0f6666bcf6f10efcb5d7.zip gdb-005328e3424c897b43ff0f6666bcf6f10efcb5d7.tar.gz gdb-005328e3424c897b43ff0f6666bcf6f10efcb5d7.tar.bz2 |
* configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
* config/i386/obsd.mt: New file.
* i386bsd-nat.c (_initialize_i386bsd_nat): Introduce
i386obsd_sc_pc_offset and i386obsd_sc_sp_offset;
* i386obsd-nat.c (_initialize_i386obsd_nat): Set
i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of
i386nbsd_sigtramp_start and i386nbsd_sigtramp_end.
* i386obsd-tdep.c: New file.
Diffstat (limited to 'gdb/i386obsd-nat.c')
-rw-r--r-- | gdb/i386obsd-nat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/i386obsd-nat.c b/gdb/i386obsd-nat.c index 17ef922..b2cdc2a 100644 --- a/gdb/i386obsd-nat.c +++ b/gdb/i386obsd-nat.c @@ -44,16 +44,16 @@ _initialize_i386obsd_nat (void) int mib[2]; size_t len; - extern CORE_ADDR i386nbsd_sigtramp_start; - extern CORE_ADDR i386nbsd_sigtramp_end; + extern CORE_ADDR i386obsd_sigtramp_start; + extern CORE_ADDR i386obsd_sigtramp_end; mib[0] = CTL_VM; mib[1] = VM_PSSTRINGS; len = sizeof (_ps); if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0) { - i386nbsd_sigtramp_start = (CORE_ADDR)_ps.val - 128; - i386nbsd_sigtramp_end = (CORE_ADDR)_ps.val; + i386obsd_sigtramp_start = (CORE_ADDR)_ps.val - 128; + i386obsd_sigtramp_end = (CORE_ADDR)_ps.val; } } #endif |