From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12380 invoked by alias); 11 Feb 2004 17:32:43 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12373 invoked from network); 11 Feb 2004 17:32:42 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 11 Feb 2004 17:32:42 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AqyE5-0001Sn-7N; Wed, 11 Feb 2004 12:32:41 -0500 Date: Wed, 11 Feb 2004 17:32:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com, cagney@redhat.com Subject: Re: [rfa] qSymbol in remote_wait Message-ID: <20040211173240.GA5609@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, cagney@redhat.com References: <20040201012229.GA22861@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040201012229.GA22861@nevyn.them.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00300.txt.bz2 On Sat, Jan 31, 2004 at 08:22:30PM -0500, Daniel Jacobowitz wrote: > Hi Andrew, > > As Amit Kale mentioned in December, to support NPTL gdbserver needs to look > up symbols during remote_wait. The existing qSymbol model assumes that only > at objfile loads (i.e. during td_ta_new) do we need to look up symbols; NPTL > looks up symbols lazily when it needs them, which includes at the creation > of the first child thread. This patch (which, I know, needs a matching > change for the manual) allows qSymbol: queries as a response to remote_wait, > in much the same way as the file I/O protocol. > > Is this OK? If so I'll write up the documentation change. Ping. > 2004-01-31 Daniel Jacobowitz > > * remote.c (handle_remote_qsymbol): New function, broken out > from remote_check_symbols. > (remote_check_symbols): Call it. > (remote_wait): Handle qSymbol. > (remote_async_wait): Likewise. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer