if (error_begin_hook) error_begin_hook ();
if (deprecated_error_begin_hook) deprecated_error_begin_hook ();
error_stream (struct ui_file *stream){  if (error_begin_hook)    error_begin_hook ();  /* Copy the stream into the GDB_LASTERR buffer.  */  ui_file_rewind (gdb_lasterr);  ui_file_put (stream, do_write, gdb_lasterr);  /* Write the message plus any error_pre_print to gdb_stderr.  */  target_terminal_ours ();  wrap_here ("");		/* Force out any buffered output */  gdb_flush (gdb_stdout);  annotate_error_begin ();  if (error_pre_print)    fputs_filtered (error_pre_print, gdb_stderr);  ui_file_put (stream, do_write, gdb_stderr);  fprintf_filtered (gdb_stderr, "\n");  throw_exception (RETURN_ERROR);}