Re: [PATCH] Notify observer of breakpoint auto-disabling

Patrick Monnerat via Gdb-patches
2021-08-15T00:30:51Z

On 8/14/21 6:05 AM, Simon Marchi wrote:
> I looked at the change a bit more in depth, in particular at the various
> observers of breakpoint_modified. One of them is MI, who prints the
> =breakpoint-modified notification.

Good catch !

> if I run a program with a breakpoint with "enable
> count 1 1", the notification I get without your patch is:
>
> =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="dis",enabled="n",...
> ^
> And with the patch:
>
> =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="dis",enabled="y",
> ^

You probably mean the other way round...

Next patch post will contain tests according to your advices.

Many thanks for your hints and your work on this.

Patrick