diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-06-30 17:01:42 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-06-30 17:01:42 +0000 |
commit | 6916549ad77db74242aa0fe652591b44f82fb88c (patch) | |
tree | b9b195f6b8211ad127b1b6294b44b7f98a32509a | |
parent | 9c5045b55215d45e352d593993892da54df718f8 (diff) | |
download | gdb-6916549ad77db74242aa0fe652591b44f82fb88c.zip gdb-6916549ad77db74242aa0fe652591b44f82fb88c.tar.gz gdb-6916549ad77db74242aa0fe652591b44f82fb88c.tar.bz2 |
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
i386nbsd_sc_pc_offset on OpenBSD too.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/i386bsd-nat.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 029b484..cf04b03 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2002-06-30 Mark Kettenis <kettenis@gnu.org> + * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to + i386nbsd_sc_pc_offset on OpenBSD too. + * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] (IN_SOLIB_CALL_TRAMPOLINE): Remove define. * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c index 3ab22a9..382e3f3 100644 --- a/gdb/i386bsd-nat.c +++ b/gdb/i386bsd-nat.c @@ -397,7 +397,7 @@ _initialize_i386bsd_nat (void) #if defined (__FreeBSD_version) && __FreeBSD_version >= 400011 extern int i386fbsd4_sc_pc_offset; #define SC_PC_OFFSET i386fbsd4_sc_pc_offset -#elif defined (NetBSD) || defined (__NetBSD_Version__) +#elif defined (NetBSD) || defined (__NetBSD_Version__) || defined (OpenBSD) extern int i386nbsd_sc_pc_offset; #define SC_PC_OFFSET i386nbsd_sc_pc_offset #else |