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/i386bsd-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/i386bsd-nat.c')
-rw-r--r-- | gdb/i386bsd-nat.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c index 8a3acd4..9e5b9a5 100644 --- a/gdb/i386bsd-nat.c +++ b/gdb/i386bsd-nat.c @@ -400,11 +400,16 @@ _initialize_i386bsd_nat (void) extern int i386fbsd4_sc_sp_offset; #define SC_PC_OFFSET i386fbsd4_sc_pc_offset #define SC_SP_OFFSET i386fbsd4_sc_sp_offset -#elif defined (NetBSD) || defined (__NetBSD_Version__) || defined (OpenBSD) +#elif defined (NetBSD) || defined (__NetBSD_Version__) extern int i386nbsd_sc_pc_offset; extern int i386nbsd_sc_sp_offset; #define SC_PC_OFFSET i386nbsd_sc_pc_offset #define SC_SP_OFFSET i386nbsd_sc_sp_offset +#elif defined (OpenBSD) + extern int i386obsd_sc_pc_offset; + extern int i386obsd_sc_sp_offset; +#define SC_PC_OFFSET i386obsd_sc_pc_offset +#define SC_SP_OFFSET i386obsd_sc_sp_offset #else extern int i386bsd_sc_pc_offset; extern int i386bsd_sc_sp_offset; |