diff options
author | Tom Tromey <tom@tromey.com> | 2023-04-16 12:40:33 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-05-02 09:14:11 -0600 |
commit | e29e63040dd09449a21762bcacabdf31d580beee (patch) | |
tree | b70a9d3c5d5970c9cb8454f3e28ac41b32d85883 /gdb/utils.c | |
parent | b545d4239bedf9001926efd55da2aa2bd2bbb94a (diff) | |
download | fsf-binutils-gdb-e29e63040dd09449a21762bcacabdf31d580beee.zip fsf-binutils-gdb-e29e63040dd09449a21762bcacabdf31d580beee.tar.gz fsf-binutils-gdb-e29e63040dd09449a21762bcacabdf31d580beee.tar.bz2 |
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.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 3cd2287..3af54ec 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 |