symbolic debug of loadable modules with kgdb light

Daniel Jacobowitz drow@false.org
Wed Sep 23 01:39:00 GMT 2009


On Tue, Sep 22, 2009 at 05:48:02PM -0700, Joel Brobecker wrote:
> Pedro, Daniel, or anyone with experience in remote.c,
> 
> I'd love your feedback on this patch... Especially the part
> that sends an interrupt after having established the connection
> with the remote agent if the interrupt is set to BREAK+g...
> See below.

I have no particular comments.  But it sounds like these are two
orthogonal settings.

> However, this being said, I really don't know about this change.
> It seems to me that this part should not be controlled by the setting
> that you're modifying, but by another setting. At the very least.
> In fact, why do you need this at all? Can't your remote agent achieve
> the same effect as you've established the connection???

Hey, that sounds familiar.

You can't acheive this in an agent, because we're talking about serial
consoles here - there's no other way for the agent to know there's a
debugger attached.

This sounds more like "set remote interrupt-sequence break-g" and
"set remote interrupt-after-connection on".

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list