From 05ff989b0b012d3c83f5908dd9750e01a74cc3de Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 14 Jan 2005 20:24:20 +0000 Subject: 2005-01-14 Andrew Cagney * linespec.c (symtab_from_filename, decode_variable): Use throw_error instead of error_silent. * breakpoint.c (do_captured_parse_breakpoint): Change return type to void. (break_command_1): Use catch_exception and check the error return status. * exceptions.c (throw_error): New function. (throw_vsilent): Delete function. * exceptions.h (throw_error): Declare. (throw_vsilent): Delete declaration. * utils.c (error_silent): Delete function. * defs.h (error_silent): Delete declaration. --- gdb/defs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index ed8088f..c87f083 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -891,8 +891,6 @@ extern NORETURN void verror (const char *fmt, va_list ap) ATTR_NORETURN; extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2); -extern NORETURN void error_silent (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2); - extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN; /* Output arbitrary error message. */ -- cgit v1.1