aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-02-21 19:11:38 +0000
committerMark Kettenis <kettenis@gnu.org>2004-02-21 19:11:38 +0000
commit60a6eeb6508da2500eb912f71eb027abfdd4b70a (patch)
treef607e6caea82925a7e300f0924a482057f8c871f /gdb/config
parent41e0a9cab8e5aac23bf508d17cf236c4466ea251 (diff)
downloadgdb-60a6eeb6508da2500eb912f71eb027abfdd4b70a.zip
gdb-60a6eeb6508da2500eb912f71eb027abfdd4b70a.tar.gz
gdb-60a6eeb6508da2500eb912f71eb027abfdd4b70a.tar.bz2
Fix PR build/1549.
* i386obsd-tdep.c: Update copyright years. Include "solib-svr4.h". (i386obsd_init_abi): Don't set regset_from_core_section here. (i386obsd_aout_init_abi): New function. Set regset_from_core_section here. (i386obsd_elf_init_abi): New function. (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF. * Makefile.in (i386obsd-tdep.o): Update dependecies. * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. (TM_FILE): Set to tm-nbsd.h. * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and solib-sunos.o.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/obsd.mh5
-rw-r--r--gdb/config/i386/obsd.mt7
2 files changed, 6 insertions, 6 deletions
diff --git a/gdb/config/i386/obsd.mh b/gdb/config/i386/obsd.mh
index ec22fcb..316f04f 100644
--- a/gdb/config/i386/obsd.mh
+++ b/gdb/config/i386/obsd.mh
@@ -1,10 +1,9 @@
-# Host: Intel 386 running OpenBSD
+# Host: OpenBSD/i386 ELF
XM_FILE= xm-i386.h
NAT_FILE= nm-obsd.h
-NATDEPFILES= fork-child.o infptrace.o inftarg.o i386bsd-nat.o i386obsd-nat.o \
- solib.o solib-sunos.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o i386bsd-nat.o i386obsd-nat.o
# The OpenBSD yacc generates yyname and yyrule tables that conflict at
# link time if we define YYDEBUG to a non-zero value.
diff --git a/gdb/config/i386/obsd.mt b/gdb/config/i386/obsd.mt
index 72ec513..c49ae60 100644
--- a/gdb/config/i386/obsd.mt
+++ b/gdb/config/i386/obsd.mt
@@ -1,3 +1,4 @@
-# Target: Intel 386 running OpenBSD
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o corelow.o
-TM_FILE= tm-i386.h
+# Target: OpenBSD/i386
+TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o corelow.o \
+ solib.o solib-svr4.o
+TM_FILE= tm-nbsd.h