aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-21 12:44:05 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-21 12:44:05 +0000
commit6b95110c7d06d156447c49917754d38e2b120ea9 (patch)
tree1034e9132e7728572d7c441793705d52789a8891
parentbcb3dc3d553e30a82bfab16b7cc3da7e4e416203 (diff)
downloadgdb-6b95110c7d06d156447c49917754d38e2b120ea9.zip
gdb-6b95110c7d06d156447c49917754d38e2b120ea9.tar.gz
gdb-6b95110c7d06d156447c49917754d38e2b120ea9.tar.bz2
* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/config/alpha/alpha-linux.mh4
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9d1ba72..831dc47 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2004-08-21 Mark Kettenis <kettenis@gnu.org>
+ * config/alpha/alpha-linux.mh (LOADLIBES): New variable.
+
* configure.in: Check for ttrace function.
* configure, config.in: Regenerate.
diff --git a/gdb/config/alpha/alpha-linux.mh b/gdb/config/alpha/alpha-linux.mh
index 4c88758..d3cbff7 100644
--- a/gdb/config/alpha/alpha-linux.mh
+++ b/gdb/config/alpha/alpha-linux.mh
@@ -4,6 +4,10 @@ NATDEPFILES= infptrace.o inftarg.o corelow.o alpha-nat.o linux-proc.o \
fork-child.o proc-service.o thread-db.o lin-lwp.o gcore.o \
linux-nat.o
+# The dynamically loaded libthread_db needs access to symbols in the
+# gdb executable.
+LOADLIBES = -ldl -rdynamic
+
# doublest.c currently assumes some properties of FP arithmetic
# on the host which require this.
MH_CFLAGS = -mieee