summaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-04-16 12:40:33 -0600
committerTom Tromey <tom@tromey.com>2023-05-02 09:14:11 -0600
commite29e63040dd09449a21762bcacabdf31d580beee (patch)
treeb70a9d3c5d5970c9cb8454f3e28ac41b32d85883 /gdb/utils.c
parentb545d4239bedf9001926efd55da2aa2bd2bbb94a (diff)
downloadbinutils-gdb-e29e63040dd09449a21762bcacabdf31d580beee.tar.gz
Remove error_stream
error_stream is trivial and only used in a couple of spots in breakpoint.c. This patch removes it in favor of just writing it out at the spots where it was used.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 3cd2287a52e..3af54ec5179 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -166,12 +166,6 @@ verror (const char *string, va_list args)
throw_verror (GENERIC_ERROR, string, args);
}
-void
-error_stream (const string_file &stream)
-{
- error (("%s"), stream.c_str ());
-}
-
/* Emit a message and abort. */
static void ATTRIBUTE_NORETURN