aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-bsd-nat.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-01-28 11:14:37 -0800
committerJohn Baldwin <jhb@FreeBSD.org>2022-01-28 11:14:37 -0800
commit187365caaad2d020b335485c50b0fcd00c5e5b48 (patch)
tree137c5aee901c23413c140d8187f67f213c044b71 /gdb/i386-bsd-nat.c
parent5647d3e3dc18463240b6dbfac0bd0cf7d506c824 (diff)
downloadgdb-187365caaad2d020b335485c50b0fcd00c5e5b48.zip
gdb-187365caaad2d020b335485c50b0fcd00c5e5b48.tar.gz
gdb-187365caaad2d020b335485c50b0fcd00c5e5b48.tar.bz2
Remove vestigal FreeBSD/i386 3.x support.
This was orphaned when a.out support was removed as the FreeBSD/i386 ELF support always used the register layouts from 4.0+.
Diffstat (limited to 'gdb/i386-bsd-nat.c')
-rw-r--r--gdb/i386-bsd-nat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/i386-bsd-nat.c b/gdb/i386-bsd-nat.c
index 515e0a8..a04478a 100644
--- a/gdb/i386-bsd-nat.c
+++ b/gdb/i386-bsd-nat.c
@@ -350,9 +350,7 @@ _initialize_i386bsd_nat ()
system header files and sysctl(3) to get at the relevant
information. */
-#if defined (__FreeBSD_version) && __FreeBSD_version >= 400011
-#define SC_REG_OFFSET i386fbsd4_sc_reg_offset
-#elif defined (__FreeBSD_version) && __FreeBSD_version >= 300005
+#if defined (__FreeBSD_version)
#define SC_REG_OFFSET i386fbsd_sc_reg_offset
#elif defined (OpenBSD)
#define SC_REG_OFFSET i386obsd_sc_reg_offset