This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix GNU/Linux Alpha build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]