Wed Aug 1 11:03:34 EDT 2012

GDB hooks

I'm using a single breakpoint to do "hot patching" of an embedded
application.  This works well if the sequence of "continue" commands
are run from a "while" loop.

Trouble is that I want to hide this a bit more and call "continue"
from a hook. Something tells me this is not a good idea, causing
recursion stack overflow.  That actually didn't happen, but I did get
problems with malloc() which is used by GDB to insert things like
strings into the target's memory.