* utils.c (error_output_message): Delete function.
* defs.h (error_output_message): Delete declaration.
2005-01-14 Andrew Cagney <cagney@gnu.org>
+ * utils.c (error_output_message): Delete function.
+ * defs.h (error_output_message): Delete declaration.
+
* linespec.c (symtab_from_filename, decode_variable): Use
throw_error instead of error_silent.
* breakpoint.c (do_captured_parse_breakpoint): Change return type
extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN;
-/* Output arbitrary error message. */
-extern void error_output_message (char *pre_print, char *msg);
-
extern NORETURN void vfatal (const char *fmt, va_list ap) ATTR_NORETURN;
extern NORETURN void fatal (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
va_end (args);
}
-/* Output an error message including any pre-print text to gdb_stderr. */
-void
-error_output_message (char *pre_print, char *msg)
-{
- target_terminal_ours ();
- wrap_here (""); /* Force out any buffered output */
- gdb_flush (gdb_stdout);
- annotate_error_begin ();
- if (pre_print)
- fputs_filtered (pre_print, gdb_stderr);
- fputs_filtered (msg, gdb_stderr);
- fprintf_filtered (gdb_stderr, "\n");
-}
-
NORETURN void
error_stream (struct ui_file *stream)
{