summaryrefslogtreecommitdiffstats
path: root/gdb/i386bsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-06-30 17:01:42 +0000
committerMark Kettenis <kettenis@gnu.org>2002-06-30 17:01:42 +0000
commit6916549ad77db74242aa0fe652591b44f82fb88c (patch)
treeb9b195f6b8211ad127b1b6294b44b7f98a32509a /gdb/i386bsd-nat.c
parent9c5045b55215d45e352d593993892da54df718f8 (diff)
downloadppe42-binutils-6916549ad77db74242aa0fe652591b44f82fb88c.tar.gz
ppe42-binutils-6916549ad77db74242aa0fe652591b44f82fb88c.zip
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
i386nbsd_sc_pc_offset on OpenBSD too.
Diffstat (limited to 'gdb/i386bsd-nat.c')
-rw-r--r--gdb/i386bsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c
index 3ab22a9bab..382e3f3f8b 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
OpenPOWER on IntegriCloud