diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-21 16:42:39 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-21 16:47:16 +0200 |
commit | 85c88e2a79973660719be21dbec920fe32f285c1 (patch) | |
tree | 2187cc4c28be962e8863b9816a5c0e40e28fa54e /gdb/doc/gdb.texinfo | |
parent | 047c3dbf5541b14a6fb562c2d847784f4b06de78 (diff) | |
download | gdb-85c88e2a79973660719be21dbec920fe32f285c1.zip gdb-85c88e2a79973660719be21dbec920fe32f285c1.tar.gz gdb-85c88e2a79973660719be21dbec920fe32f285c1.tar.bz2 |
gdb/breakpoint: display "N" on MI for disabled-by-condition locations
For breakpoint locations that are disabled because of an invalid
condition, CLI displays "N*" in the 'enabled' field, where '*' refers
to the footnote below the table:
(*): Breakpoint condition is invalid at this location.
This is not necessary for MI, where we shall simply print "N" without
the footnote.
Update the document to mention the "N" value for the MI. Also remove
the line about the 'enable' field, because there is no such field for
locations.
gdb/ChangeLog:
2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* breakpoint.c (print_one_breakpoint_location): Display "N" for
disabled-by-condition locations on MI-like output.
(breakpoint_1): Do not display the disabled-by-condition footnote
if the output is MI-like.
gdb/doc/ChangeLog:
2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.texinfo (GDB/MI Breakpoint Information): Update the
description for the 'enabled' field of breakpoint locations.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r-- | gdb/doc/gdb.texinfo | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index d13cbda..fd04aee 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -30154,9 +30154,16 @@ number of the parent breakpoint. The second digit is the number of the location within that breakpoint. @item enabled -This indicates whether the location is enabled, in which case the -value is @samp{y}, or disabled, in which case the value is @samp{n}. -Note that this is not the same as the field @code{enable}. +There are three possible values, with the following meanings: +@table @code +@item y +The location is enabled. +@item n +The location is disabled by the user. +@item N +The location is disabled because the breakpoint condition is invalid +at this location. +@end table @item addr The address of this location as an hexidecimal number. |