mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb/
* gdb_proc_service.h (psaddr_t): Fix type. * linux-thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix signature to match glibc. (thread_db_get_thread_local_address): Use psaddr_t for type of address to match parameter of td_thr_tls_get_addr_p. Cast through psaddr_t instead of (void*) to match parameter of td_thr_tls_get_addr_p. gdbserver/ * gdb_proc_service.h (psaddr_t): Fix type. * thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix signature to match glibc.
This commit is contained in:
@@ -54,7 +54,7 @@ typedef unsigned int lwpid_t;
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_PSADDR_T
|
||||
typedef unsigned long psaddr_t;
|
||||
typedef void *psaddr_t;
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_PRGREGSET_T
|
||||
|
||||
Reference in New Issue
Block a user