* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
authorMark Kettenis <kettenis@gnu.org>
Sat, 21 Aug 2004 12:44:05 +0000 (12:44 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 21 Aug 2004 12:44:05 +0000 (12:44 +0000)
gdb/ChangeLog
gdb/config/alpha/alpha-linux.mh

index 9d1ba72..831dc47 100644 (file)
@@ -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.     
 
index 4c88758..d3cbff7 100644 (file)
@@ -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