From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26324 invoked by alias); 20 Oct 2004 19:29:05 -0000 Mailing-List: contact rda-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rda-owner@sources.redhat.com Received: (qmail 26312 invoked from network); 20 Oct 2004 19:29:03 -0000 To: Kevin Buettner Cc: rda@sources.redhat.com Subject: Re: RFA: Use td_symbol_list to request symbols if present References: <20041020083911.30bb58de@saguaro> From: Jim Blandy Date: Wed, 20 Oct 2004 19:29:00 -0000 In-Reply-To: <20041020083911.30bb58de@saguaro> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-q4/txt/msg00027.txt.bz2 Kevin Buettner writes: > On 19 Oct 2004 17:25:56 -0500 > Jim Blandy 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 > > > > 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 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.