From 6916549ad77db74242aa0fe652591b44f82fb88c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 30 Jun 2002 17:01:42 +0000 Subject: * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to i386nbsd_sc_pc_offset on OpenBSD too. --- gdb/i386bsd-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/i386bsd-nat.c') 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 -- cgit v1.1