{
if (target_byte_order_user == BFD_ENDIAN_UNKNOWN)
if (gdbarch_byte_order (get_current_arch ()) == BFD_ENDIAN_BIG)
- fprintf_unfiltered (file, _("The target endianness is set automatically "
- "(currently big endian).\n"));
+ fprintf_filtered (file, _("The target endianness is set automatically "
+ "(currently big endian).\n"));
else
- fprintf_unfiltered (file, _("The target endianness is set automatically "
- "(currently little endian).\n"));
+ fprintf_filtered (file, _("The target endianness is set automatically "
+ "(currently little endian).\n"));
else
if (target_byte_order_user == BFD_ENDIAN_BIG)
- fprintf_unfiltered (file,
- _("The target is set to big endian.\n"));
+ fprintf_filtered (file,
+ _("The target is set to big endian.\n"));
else
- fprintf_unfiltered (file,
- _("The target is set to little endian.\n"));
+ fprintf_filtered (file,
+ _("The target is set to little endian.\n"));
}
static void
len = strcspn (style, ",");
}
- fprintf_unfiltered (file, "The disassembly style is \"%.*s\".\n", len, style);
+ fprintf_filtered (file, "The disassembly style is \"%.*s\".\n", len, style);
}
\f
/* Return the ARM register name corresponding to register I. */
struct cmd_list_element *c, const char *value)
{
if (logging_enabled)
- fprintf_unfiltered (file, _("Logging is enabled.\n"));
+ fprintf_filtered (file, _("Logging is enabled.\n"));
else
- fprintf_unfiltered (file, _("Logging is disabled.\n"));
+ fprintf_filtered (file, _("Logging is disabled.\n"));
}
void _initialize_cli_logging ();
show_debuginfod_enabled (ui_file *file, int from_tty, cmd_list_element *cmd,
const char *value)
{
- fprintf_unfiltered (file,
- _("Debuginfod functionality is currently set to "
- "\"%s\".\n"), debuginfod_enabled);
+ fprintf_filtered (file,
+ _("Debuginfod functionality is currently set to "
+ "\"%s\".\n"), debuginfod_enabled);
}
/* Set callback for "set debuginfod urls". */
const char *value)
{
if (value[0] == '\0')
- fprintf_unfiltered (file, _("Debuginfod URLs have not been set.\n"));
+ fprintf_filtered (file, _("Debuginfod URLs have not been set.\n"));
else
fprintf_filtered (file, _("Debuginfod URLs are currently set to:\n%s\n"),
value);