mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
Consistently Use ui_file parameter to show callbacks
I happened to notice that one "show" callback was printing to gdb_stdout rather than to the passed-in ui_file parameter. I went through all such callbacks and fixed them to consistently use the ui_file. Regression tested on x86-64 Fedora 34.
This commit is contained in:
@ -299,8 +299,9 @@ static void
|
||||
show_debuginfod_enabled (ui_file *file, int from_tty, cmd_list_element *cmd,
|
||||
const char *value)
|
||||
{
|
||||
printf_unfiltered (_("Debuginfod functionality is currently set to "
|
||||
"\"%s\".\n"), debuginfod_enabled);
|
||||
fprintf_unfiltered (file,
|
||||
_("Debuginfod functionality is currently set to "
|
||||
"\"%s\".\n"), debuginfod_enabled);
|
||||
}
|
||||
|
||||
/* Set callback for "set debuginfod urls". */
|
||||
|
Reference in New Issue
Block a user