aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-09 23:09:04 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-09 23:09:04 +0000
commit75f501b5c965bbd68d7d64a29ab8db05a0c12f0b (patch)
tree206fb127e1085af18592bcf38707eebf5b4d74ea /gdb/config
parent18bbbd9e520fd6ca95092a871fa1f9629e7b53ad (diff)
downloadgdb-75f501b5c965bbd68d7d64a29ab8db05a0c12f0b.zip
gdb-75f501b5c965bbd68d7d64a29ab8db05a0c12f0b.tar.gz
gdb-75f501b5c965bbd68d7d64a29ab8db05a0c12f0b.tar.bz2
* i386-sol2-tdep.c: Include "solib-svr4.h".
(i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. * Makefile.in (i386-sol2-tdep.o): Update dependencies. * config/i386/tm-i386sol2.h: Include :solib.h". * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/i386sol2.mh11
-rw-r--r--gdb/config/i386/i386sol2.mt5
-rw-r--r--gdb/config/i386/tm-i386sol2.h4
3 files changed, 10 insertions, 10 deletions
diff --git a/gdb/config/i386/i386sol2.mh b/gdb/config/i386/i386sol2.mh
index 1245ca7..750b9f0 100644
--- a/gdb/config/i386/i386sol2.mh
+++ b/gdb/config/i386/i386sol2.mh
@@ -1,8 +1,5 @@
-# Host: Intel 386 running Solaris 2 (SVR4)
-
-XM_FILE= xm-i386.h
-
-NAT_FILE= nm-i386sol2.h
+# Host: Solaris x86
NATDEPFILES= fork-child.o i386v4-nat.o \
- procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o gcore.o \
- solib.o solib-svr4.o solib-legacy.o
+ procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o gcore.o
+NAT_FILE= nm-i386sol2.h
+XM_FILE= xm-i386.h
diff --git a/gdb/config/i386/i386sol2.mt b/gdb/config/i386/i386sol2.mt
index 863f615..1ced287 100644
--- a/gdb/config/i386/i386sol2.mt
+++ b/gdb/config/i386/i386sol2.mt
@@ -1,3 +1,4 @@
-# Target: Intel 386 running Solaris 2 (SVR4)
-TDEPFILES= i386-tdep.o i387-tdep.o i386-sol2-tdep.o corelow.o
+# Target: Solaris x86
+TDEPFILES= i386-tdep.o i387-tdep.o i386-sol2-tdep.o \
+ corelow.o solib.o solib-svr4.o
TM_FILE= tm-i386sol2.h
diff --git a/gdb/config/i386/tm-i386sol2.h b/gdb/config/i386/tm-i386sol2.h
index 3f9aaa5..3dfbbbb 100644
--- a/gdb/config/i386/tm-i386sol2.h
+++ b/gdb/config/i386/tm-i386sol2.h
@@ -22,6 +22,8 @@
#ifndef TM_I386SOL2_H
#define TM_I386SOL2_H 1
+#include "solib.h"
+
/* The SunPRO compiler puts out 0 instead of the address in N_SO symbols,
and for SunPRO 3.0, N_FUN symbols too. */
#define SOFUN_ADDRESS_MAYBE_MISSING
@@ -30,4 +32,4 @@ extern char *sunpro_static_transform_name (char *);
#define STATIC_TRANSFORM_NAME(x) sunpro_static_transform_name (x)
#define IS_STATIC_TRANSFORM_NAME(name) ((name)[0] == '.')
-#endif /* ifndef TM_I386SOL2_H */
+#endif /* tm-i386sol2.h */