* 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 9d1ba72e21e4620e4cda113f65a125d35ac6952b..831dc47783bee0c786e3214d193b7c632580eca3 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 4c88758ebc5d34f2cf1f9568f51d883d8e8026fe..d3cbff7ff396bd1e7129896db47ec8cef8e6efd8 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