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 | 67c64671dddae97d17d1f7b587c3a6ba19c1da15 (patch) | |
tree | fcec0ab0b7fb76953a4a3f67b0eba909589604d4 /gdb/i386bsd-nat.c | |
parent | fd32280b53778da05fd5a5f9ad9f947459a832a4 (diff) | |
download | gdb-67c64671dddae97d17d1f7b587c3a6ba19c1da15.tar.gz |
* 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 8a3acd4cf58..9e5b9a59e7a 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; |