[PATCH 1/4] gdb/doc: update the 'enabled' field's description for BP locations in MI
Simon Marchi
simon.marchi@polymtl.ca
Wed Apr 7 21:42:45 GMT 2021
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
More information about the Gdb-patches
mailing list