contrib/gdb-7/gdb/utils.c
void
vwarning (const char *string, va_list args)
{
  if (deprecated_warning_hook)
    (*deprecated_warning_hook) (string, args);
  else
    {
      target_terminal_ours ();
      wrap_here ("");		/* Force out any buffered output.  */
      gdb_flush (gdb_stdout);
      if (warning_pre_print)
	fputs_unfiltered (warning_pre_print, gdb_stderr);
      vfprintf_unfiltered (gdb_stderr, string, args);
      fprintf_unfiltered (gdb_stderr, "\n");
      va_end (args);
    }
}
/* Print a warning message.  The first argument STRING is the warning
   message, used as an fprintf format string, the second is the
   va_list of arguments for that string.  A warning is unfiltered (not
   paginated) so that the user does not need to page through each
   screen full of warnings when there are lots of them.  */
Print a warning message.  The first argument STRING is the warning
message, used as an fprintf format string, the second is the
va_list of arguments for that string.  A warning is unfiltered (not
paginated) so that the user does not need to page through each
screen full of warnings when there are lots of them.
Print a warning message . The first argument STRING is the warning message used as an fprintf format string the second is the va_list of arguments for that string . A warning is unfiltered ( not paginated ) so that the user does not need to page through each screen full of warnings when there are lots of them .
void
vwarning (const char *string, va_list args)
{
  if (deprecated_warning_hook)
    (*deprecated_warning_hook) (string, args);
  else
    {
      target_terminal_ours ();
      wrap_here ("");		
      gdb_flush (gdb_stdout);
      if (warning_pre_print)
	fputs_unfiltered (warning_pre_print, gdb_stderr);
      vfprintf_unfiltered (gdb_stderr, string, args);
      fprintf_unfiltered (gdb_stderr, "\n");
      va_end (args);
    }
}
void vwarning ( const char * string , va_list args ) { if ( deprecated_warning_hook ) ( * deprecated_warning_hook ) ( string , args ) ; else { target_terminal_ours ( ) ; wrap_here ( " " ) ; gdb_flush ( gdb_stdout ) ; if ( warning_pre_print ) fputs_unfiltered ( warning_pre_print , gdb_stderr ) ; vfprintf_unfiltered ( gdb_stderr , string , args ) ; fprintf_unfiltered ( gdb_stderr , " \n " ) ; va_end ( args ) ; } }
Print a warning message.
Print a warning message .
/* Force out any buffered output.  */