[PATCHv4 01/12] gdb/doc: extended documentation for inferior function calls

Tom de Vries tdevries@suse.de
Thu Mar 21 09:03:41 GMT 2024


On 2/28/23 17:42, Andrew Burgess via Gdb-patches wrote:
> +If a called function is interrupted for any reason, including hitting
> +a breakpoint, or triggering a watchpoint, and the stack is not unwound

Hi Andrew,

I read this bit and went investigating why a watchpoint didn't trigger 
during a called function (PR31485), and found that in fact we explicitly 
disable watchpoints during a called function.

I suppose we should either drop mentioning the watchpoint here, or 
perhaps better, mention that they are disabled.

And perhaps eventually, allow watchpoints to be triggered.

Thanks,
- Tom


More information about the Gdb-patches mailing list