Re: [PATCH 1/4] gdb/doc: update the 'enabled' field's description for BP locations in MI

Simon Marchi via Gdb-patches
2021-04-07T21:42:57Z

On 2021-04-07 10:55 a.m., Tankut Baris Aktemur via Gdb-patches wrote:
> Update the document to mention the "N*" value for the 'enabled' field
> of breakpoint locations. Also remove the line about the 'enable'
> field, because there is no such field for locations.

Hi Baris,

The asterisk in N* exists because it refers to the bottom note in the
CLI output:

(gdb) i b
Num Type Disp Enb Address What
1 breakpoint keep y <MULTIPLE>
stop only if patate == 2
1.1 N* 0x00000000000011f7 in main at test.c:27
(*): Breakpoint condition is invalid at this location.

If we didn't have that bottom note, I suppose the value would simply be
"N" (and it would be very cryptic for CLI users).

So I think it would make sense that for MI, we only output "N" as the
enabled value, instead of "N*".

Simon