forked from Imagelibrary/binutils-gdb
Introduce "command" styling
This adds a new "command" style that is used when styling the name of a gdb command. Note that not every instance of a command name that is output by gdb is changed here. There is currently no way to style error() strings, and there is no way to mark up command help strings. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31747 Reviewed-By: Eli Zaretskii <eliz@gnu.org> Reviewed-By: Keith Seitz <keiths@redhat.com> Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
@@ -9377,7 +9377,8 @@ create_breakpoint (struct gdbarch *gdbarch,
|
||||
if (canonical.lsals.size () > 1)
|
||||
{
|
||||
warning (_("Multiple breakpoints were set.\nUse the "
|
||||
"\"delete\" command to delete unwanted breakpoints."));
|
||||
"\"%ps\" command to delete unwanted breakpoints."),
|
||||
styled_string (command_style.style (), "delete"));
|
||||
prev_breakpoint_count = prev_bkpt_count;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user