* 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:
Doug Evans
2009-12-19 00:29:11 +00:00
parent 42853c79aa
commit 00f515dab6
6 changed files with 27 additions and 8 deletions

View File

@@ -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