From 6b95110c7d06d156447c49917754d38e2b120ea9 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 21 Aug 2004 12:44:05 +0000 Subject: [PATCH] * config/alpha/alpha-linux.mh (LOADLIBES): New variable. --- gdb/ChangeLog | 2 ++ gdb/config/alpha/alpha-linux.mh | 4 ++++ 2 files changed, 6 insertions(+) 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 + * 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 -- 2.7.4