behavior of hook-stop command

Sergio Durigan Junior
Tue Aug 2 22:58:00 GMT 2011

Hi Amker,

"Amker.Cheng" <> writes:

> In gdb document, it is said hook-stop makes the associated commands
> execute every time execution stops in your program.
> while for cases where continue command included in hook-stop, it's not true.


> I understand hook_in is essential to prevent gdb from possible
> recursion and seems hard
> to change the behavior within current infrastructure.
> Is this a bug? Should we state this in GDB document?

I believe it could be treated as a bug.  I'm not sure if this will be
fixed on the code, or on the documentation, but either way I suggest you
to open a bug in GDB bugzilla, please:



More information about the Gdb mailing list