summaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-10-13 21:45:40 +0100
committerPedro Alves <palves@redhat.com>2014-10-13 23:06:05 +0100
commit58da9bdea03d5b96943696b6c7e69bef6ef419cc (patch)
treeffbc1dd1152339a9f1289e36f66de3929023d9c6 /gdb/linux-thread-db.c
parentfabd3880c70c46c1511e2b778b002fa64e521852 (diff)
downloadbinutils-gdb-palves/cxx-conversion-attempt.tar.gz
Make GDB build with both g++ and gcc, on x86_64 Fedora 20palves/cxx-conversion-attempt
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r--gdb/linux-thread-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 2994b800652..a4470fa54cd 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -814,7 +814,7 @@ try_thread_db_load_1 (struct thread_db_info *info)
{
const char *library;
- library = dladdr_to_soname (*info->td_ta_new_p);
+ library = dladdr_to_soname ((const void *) *info->td_ta_new_p);
if (library == NULL)
library = LIBTHREAD_DB_SO;