From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eli Zaretskii" To: msnyder@cygnus.com Cc: gdb-patches@sources.redhat.com, cagney@cygnus.com Subject: Re: [RFA] Remote symbol look-up (resubmission) Date: Fri, 11 May 2001 12:39:00 -0000 Message-id: <9427-Fri11May2001223943+0300-eliz@is.elta.co.il> References: <3AFC20A5.700ACFAF@cygnus.com> X-SW-Source: 2001-05/msg00238.html > Date: Fri, 11 May 2001 10:25:57 -0700 > From: Michael Snyder > > This is a re-submission, with documentation and changes to answer Andrew's concerns. > > > 2001-05-10 Michael Snyder > > * solib.h (no_shared_libraries): Export definition. > * remote.c (remote_new_objfile): New function. Called whenever > a new objfile is created (which is generally a new shared library). > (remote_check_symbols): Send notification to the target that it is > now a good time to ask for symbol look-up service, and handle any > symbol look-up requests. Called whenever a new symbol file becomes > available, and from remote open. > (hex2bin): Require explicit count, don't accept null-terminated str. > (set_remote_protocol_qSymbol_packet_cmd): New function. > (show_remote_protocol_qSymbol_packet_cmd): New function. > (remote_open_1, remote_async_open_1): Call remote_check_symbols. > (_initialize_remote): Hook remote_new_objfile into the new > objfile notification chain. Add set/show remote symbol-lookup > commands. > * doc/gdb.texinfo: Document the new 'qSymbol' and 'QSymbol' packets. The changes to gdb.texinfo are approved, but please correct one minor problem: > + @tab @code{q}@code{Symbol:}@var{SYMBOL_FILE_NAME} Please write the arguments of @var{} in lower case. They will be converted to upper case by makeinfo, but in the printed manual @var is typeset with a special font which makes it stand out without upcasing the text. (There are several other places which use @var{FOO}.)