This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: shared library support hookin the remote.c
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Stephen & Linda Smith'" <ischis2 at cox dot net>,"'Andrew Cagney'" <cagney at gnu dot org>
- Cc: "'Kevin Buettner'" <kevinb at redhat dot com>,<gdb at sources dot redhat dot com>
- Date: Wed, 14 Jul 2004 19:43:21 +0100
- Subject: RE: shared library support hookin the remote.c
> -----Original Message-----
> From: gdb-owner On Behalf Of Stephen & Linda Smith
> Sent: 14 July 2004 19:30
> There is one thing I don't understand about the F packet. How
> does the
> inferior know that it is OK to send the packet. From
> everything that I
> have read. Comunication is initiated by GDB and answered by the
> inferior. I didn't know that the stub could initiate a
> packet.
I think that's exactly what happens when the inferior hits a breakpoint,
isn't it? Gdb can't know that it's about to do that, so the stub is sending
a spontaneous (in the sense of not reqested by gdb) status or expedited
response packet.
It occurs to me that "Send a gratuitious expedited response" might perhaps
the answer to that guy's question who wanted to invalidate gdb's cached
state. Assuming he's only after invalidating the regcache, that is.
cheers,
DaveK
--
Can't think of a witty .sigline today....