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.
if (error_flag)
{
target_terminal::ours_for_output ();
- error_stream (tmp_error_stream);
+ error (("%s"), tmp_error_stream.c_str ());
}
}
You may have requested too many hardware breakpoints/watchpoints.\n");
}
target_terminal::ours_for_output ();
- error_stream (tmp_error_stream);
+ error (("%s"), tmp_error_stream.c_str ());
}
}
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
extern const char *warning_pre_print;
-extern void error_stream (const string_file &) ATTRIBUTE_NORETURN;
-
extern void demangler_vwarning (const char *file, int line,
const char *, va_list ap)
ATTRIBUTE_PRINTF (3, 0);