[PATCH] Fix GNU/Linux Alpha build
Mark Kettenis
kettenis@chello.nl
Sat Aug 21 12:45:00 GMT 2004
Looks like this has been broken for a very long time.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
Index: config/alpha/alpha-linux.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/alpha-linux.mh,v
retrieving revision 1.13
diff -u -p -r1.13 alpha-linux.mh
--- config/alpha/alpha-linux.mh 5 Aug 2004 18:18:17 -0000 1.13
+++ config/alpha/alpha-linux.mh 21 Aug 2004 12:41:55 -0000
@@ -4,6 +4,10 @@ NATDEPFILES= infptrace.o inftarg.o corel
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
More information about the Gdb-patches
mailing list