diff options
author | Doug Evans <dje@google.com> | 2009-12-19 00:29:10 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-12-19 00:29:10 +0000 |
commit | 92304fe24cb485c0bce277f6da99361603b00f96 (patch) | |
tree | f6dd1c72d6e5969347fcace5f34ffc9e7bb3ca45 /gdb/gdbserver/thread-db.c | |
parent | 3395700aa2a7d0b89db8fd98277b095cd20569fd (diff) | |
download | gdb-92304fe24cb485c0bce277f6da99361603b00f96.tar.gz |
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.
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r-- | gdb/gdbserver/thread-db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c index ba6c668c49b..f27308263f4 100644 --- a/gdb/gdbserver/thread-db.c +++ b/gdb/gdbserver/thread-db.c @@ -71,8 +71,8 @@ struct thread_db sigset_t *ti_sigmask_p, unsigned int ti_user_flags); td_err_e (*td_thr_tls_get_addr_p) (const td_thrhandle_t *th, - void *map_address, - size_t offset, void **address); + psaddr_t map_address, + size_t offset, psaddr_t *address); const char ** (*td_symbol_list_p) (void); }; |