forked from Imagelibrary/binutils-gdb
2003-08-04 David Carlton <carlton@kealia.com>
* charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args
to internal_error call.
* source.c (forward_search_command): Add "%s" format argument.
(reverse_search_command): Ditto.
* top.c (quit_confirm): Ditto.
* cli/cli-setshow.c (do_setshow_command): Ditto.
* cp-valprint.c (cp_print_class_method): Replace
{f,}printf_{un,}filtered by {f,}puts_{un,}filtered.
(cp_print_class_member): Ditto.
* event-top.c (command_line_handler): Ditto.
* linux-proc.c (linux_info_proc_cmd): Ditto.
* p-typeprint.c (pascal_type_print_base): Ditto.
* p-valprint.c (pascal_object_print_class_method): Ditto.
(pascal_object_print_class_member): Ditto.
* printcmd.c (print_scalar_formatted,printf_command): Ditto.
* remote.c (remote_cisco_section_offsets): Ditto.
* top.c (command_line_input): Ditto.
* utils.c (vwarning,error_stream,quit): Ditto.
* valprint.c (print_floating,print_binary_chars)
(print_octal_chars,print_decimal_chars,print_hex_chars): Ditto.
2003-08-04 David Carlton <carlton@kealia.com>
* mi-main.c (mi_error_last_message): Add "%s" second argument to
xasprintf call.
2003-08-04 David Carlton <carlton@kealia.com>
* generic/gdbtk.c (gdbtk_source_start_file): Add "%s" first
argument to error call.
(tk_command): Ditto.
(view_command): Ditto.
This commit is contained in:
14
gdb/top.c
14
gdb/top.c
@@ -1201,9 +1201,9 @@ command_line_input (char *prompt_arg, int repeat, char *annotation_suffix)
|
||||
|
||||
if (annotation_level > 1 && instream == stdin)
|
||||
{
|
||||
printf_unfiltered ("\n\032\032pre-");
|
||||
printf_unfiltered (annotation_suffix);
|
||||
printf_unfiltered ("\n");
|
||||
puts_unfiltered ("\n\032\032pre-");
|
||||
puts_unfiltered (annotation_suffix);
|
||||
puts_unfiltered ("\n");
|
||||
}
|
||||
|
||||
/* Don't use fancy stuff if not talking to stdin. */
|
||||
@@ -1222,9 +1222,9 @@ command_line_input (char *prompt_arg, int repeat, char *annotation_suffix)
|
||||
|
||||
if (annotation_level > 1 && instream == stdin)
|
||||
{
|
||||
printf_unfiltered ("\n\032\032post-");
|
||||
printf_unfiltered (annotation_suffix);
|
||||
printf_unfiltered ("\n");
|
||||
puts_unfiltered ("\n\032\032post-");
|
||||
puts_unfiltered (annotation_suffix);
|
||||
puts_unfiltered ("\n");
|
||||
}
|
||||
|
||||
if (!rl || rl == (char *) EOF)
|
||||
@@ -1686,7 +1686,7 @@ quit_confirm (void)
|
||||
else
|
||||
s = "The program is running. Exit anyway? ";
|
||||
|
||||
if (!query (s))
|
||||
if (!query ("%s", s))
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user