Use filtered output in ordinary commands
Many otherwise ordinary commands choose to use unfiltered output rather than filtered. I don't think there's any reason for this, so this changes many such commands to use filtered output instead. Note that complete_command is not touched due to a comment there explaining why unfiltered output is believed to be used.
This commit is contained in:
parent
b68178b9cb
commit
b58f47ab4c
18 changed files with 89 additions and 89 deletions
10
gdb/value.c
10
gdb/value.c
|
@ -2649,11 +2649,11 @@ show_convenience (const char *ignore, int from_tty)
|
|||
The user can't create them except via Python, and if Python support
|
||||
is installed this message will never be printed ($_streq will
|
||||
exist). */
|
||||
printf_unfiltered (_("No debugger convenience variables now defined.\n"
|
||||
"Convenience variables have "
|
||||
"names starting with \"$\";\n"
|
||||
"use \"set\" as in \"set "
|
||||
"$foo = 5\" to define them.\n"));
|
||||
printf_filtered (_("No debugger convenience variables now defined.\n"
|
||||
"Convenience variables have "
|
||||
"names starting with \"$\";\n"
|
||||
"use \"set\" as in \"set "
|
||||
"$foo = 5\" to define them.\n"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue