diff options
author | Pedro Alves <palves@redhat.com> | 2015-11-19 14:32:53 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-11-19 14:32:53 +0000 |
commit | f8708a14262c9abe0a6823de4470f5710374fe40 (patch) | |
tree | cded5569b9b5444317d5288d0153715ab2a13eec /gdb/s390-linux-tdep.c | |
parent | 915ef8b18e28e6418216a582067b9fbdd6395e6a (diff) | |
download | binutils-f8708a14262c9abe0a6823de4470f5710374fe40.zip binutils-f8708a14262c9abe0a6823de4470f5710374fe40.tar.gz binutils-f8708a14262c9abe0a6823de4470f5710374fe40.tar.bz2 |
[C++] linux-thread-db.c: dladdr cast
Fixes:
src/gdb/linux-thread-db.c: In function ‘int try_thread_db_load_1(thread_db_info*)’:
src/gdb/linux-thread-db.c:769:53: error: invalid conversion from ‘td_err_e (*)(ps_prochandle*, td_thragent_t**) {aka td_err_e (*)(ps_prochandle*, td_thragent**)}’ to ‘const void*’ [-fpermissive]
library = dladdr_to_soname (*info->td_ta_new_p);
^
src/gdb/linux-thread-db.c:637:1: error: initializing argument 1 of ‘const char* dladdr_to_soname(const void*)’ [-fpermissive]
dladdr_to_soname (const void *addr)
^
gdb/ChangeLog:
2015-11-19 Pedro Alves <palves@redhat.com>
* linux-thread-db.c (try_thread_db_load_1): Add cast.
Diffstat (limited to 'gdb/s390-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions