diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 61f0abc..4984373 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -530,22 +530,6 @@ vwarning (const char *string, va_list args) } } -/* Print a warning message. - The first argument STRING is the warning message, used as a fprintf string, - and the remaining args are passed as arguments to it. - The primary difference between warnings and errors is that a warning - does not force the return to command level. */ - -void -warning (const char *string, ...) -{ - va_list args; - - va_start (args, string); - vwarning (string, args); - va_end (args); -} - /* Print an error message and return to command level. The first argument STRING is the error message, used as a fprintf string, and the remaining args are passed as arguments to it. */ @@ -557,16 +541,6 @@ verror (const char *string, va_list args) } void -error (const char *string, ...) -{ - va_list args; - - va_start (args, string); - throw_verror (GENERIC_ERROR, string, args); - va_end (args); -} - -void error_stream (struct ui_file *stream) { char *message = ui_file_xstrdup (stream, NULL); @@ -812,16 +786,6 @@ internal_verror (const char *file, int line, const char *fmt, va_list ap) throw_quit (_("Command aborted.")); } -void -internal_error (const char *file, int line, const char *string, ...) -{ - va_list ap; - - va_start (ap, string); - internal_verror (file, line, string, ap); - va_end (ap); -} - static struct internal_problem internal_warning_problem = { "internal-warning", 1, internal_problem_ask, 1, internal_problem_ask }; |