From 306d9ac5139c6d8b59e30e1e9ee60776b7425838 Mon Sep 17 00:00:00 2001 From: David Carlton Date: Mon, 4 Aug 2003 17:08:24 +0000 Subject: 2003-08-04 David Carlton * 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 * mi-main.c (mi_error_last_message): Add "%s" second argument to xasprintf call. 2003-08-04 David Carlton * generic/gdbtk.c (gdbtk_source_start_file): Add "%s" first argument to error call. (tk_command): Ditto. (view_command): Ditto. --- gdb/mi/ChangeLog | 5 +++++ gdb/mi/mi-main.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb/mi') diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index f4a4ad8..5af17c3 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,8 @@ +2003-08-04 David Carlton + + * mi-main.c (mi_error_last_message): Add "%s" second argument to + xasprintf call. + 2003-06-28 Daniel Jacobowitz * mi-out.c (mi_ui_out_impl): Add NULL for redirect member. diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 5e55913..64a28fd 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -101,7 +101,7 @@ void mi_error_last_message (void) { char *s = error_last_message (); - xasprintf (&mi_error_message, s); + xasprintf (&mi_error_message, "%s", s); xfree (s); } -- cgit v1.1