This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
Re: RFA: Use td_symbol_list to request symbols if present
- From: Jim Blandy <jimb at redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: rda at sources dot redhat dot com
- Date: 20 Oct 2004 14:26:56 -0500
- Subject: Re: RFA: Use td_symbol_list to request symbols if present
- References: <vt2fz4ajqff.fsf@zenia.home> <20041020083911.30bb58de@saguaro>
Kevin Buettner <kevinb@redhat.com> writes:
> On 19 Oct 2004 17:25:56 -0500
> Jim Blandy <jimb@redhat.com> wrote:
>
> > The presence of the td_symbol_list function in recent LinuxThreads and
> > NPTL libthread_db libraries means that RDA can reliably use the
> > current GDB remote protocol, unchanged, to satisfy all libthread_db
> > symbol lookups.
> >
> > 2004-10-19 Jim Blandy <jimb@redhat.com>
> >
> > Use the libthread_db 'td_symbol_list' function to look up all the
> > symbols libthread_db will need when invited to by GDB.
> > * thread-db.c (add_symbol_to_list): Make 'name' argument const.
> > (td_symbol_list_p): New libthread_db function pointer.
> > (thread_db_dlopen): Initialize it.
>
> Okay.
Committed, thanks. I fixed the ChangeLog entry:
2004-10-20 Jim Blandy <jimb@redhat.com>
Use the libthread_db 'td_symbol_list' function to look up all the
symbols libthread_db will need when invited to by GDB.
* thread-db.c (add_symbol_to_list): Make 'name' argument const.
(td_symbol_list_p): New libthread_db function pointer.
(thread_db_dlopen): Initialize it.
(thread_db_attach): Use td_symbol_list to pre-load our symbol
cache with the names of all the symbols libthread_db will ever
request.