This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] qSymbol in remote_wait


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  <drow@mvista.com>
> 
> 	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]