[RFA] fix psaddr_t fall-back definition for gdbserver

Daniel Jacobowitz drow@false.org
Fri Dec 18 22:10:00 GMT 2009


On Fri, Dec 18, 2009 at 02:04:36PM -0800, Doug Evans wrote:
> How about this?
> 
> 2009-12-18  Doug Evans  <dje@google.com>
> 
> 	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.

Looks good.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list