This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] fix psaddr_t fall-back definition for gdbserver
- From: Daniel Jacobowitz <drow at false dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 18 Dec 2009 17:10:41 -0500
- Subject: Re: [RFA] fix psaddr_t fall-back definition for gdbserver
- References: <20091218220436.CA86884412@ruffy.mtv.corp.google.com>
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