From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Michael Snyder Cc: gdb-patches@sources.redhat.com, jtc@redback.com Subject: Re: [RFC] Extend remote protocol to allow symbol look-up service. Date: Sat, 21 Apr 2001 16:35:00 -0000 Message-id: <3AE21931.B3602F03@cygnus.com> References: <3ADCD1B8.772C5247@cygnus.com> X-SW-Source: 2001-04/msg00208.html Michael Snyder wrote: [....] The protocol appears to overlaps two separate but related operations - shared library load and symbol load. If I remember right, a symbol can also be loaded using things like ``(gdb) symbol file''. Is the shared library notification even needed and should this be tied to the shared library hook? What happens if the target program has no shared libraries? Will the target still get an oportunity to request a symbol? Could a target encounter a situtation where it needed symbol values before it could report back a program status? The problem is very much like the input/output cases where the target is wanting to nest a query request within the normal packet flow. Should input/output and this query all use the same mechanism? Andrew