This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: behavior of hook-stop command


Hi Amker,

"Amker.Cheng" <amker.cheng@gmail.com> 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:

   http://sourceware.org/bugzilla/

Thanks,

Sergio.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]