mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
Unify gdb printf functions
Now that filtered and unfiltered output can be treated identically, we can unify the printf family of functions. This is done under the name "gdb_printf". Most of this patch was written by script.
This commit is contained in:
@ -140,11 +140,11 @@ deprecated_show_value_hack (struct ui_file *ignore_file,
|
||||
case var_optional_filename:
|
||||
case var_filename:
|
||||
case var_enum:
|
||||
printf_filtered ((" is \"%s\".\n"), value);
|
||||
gdb_printf ((" is \"%s\".\n"), value);
|
||||
break;
|
||||
|
||||
default:
|
||||
printf_filtered ((" is %s.\n"), value);
|
||||
gdb_printf ((" is %s.\n"), value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user