This commit is contained in:
gdb-3.4
1989-11-05 21:02:37 +00:00
committed by Pedro Alves
parent 4187119d59
commit 1c997a4ae8
38 changed files with 1819 additions and 620 deletions

View File

@ -287,7 +287,9 @@ fatal_dump_core (string, arg)
char *string;
int arg;
{
fprintf (stderr, "gdb: ");
/* "internal error" is always correct, since GDB should never dump
core, no matter what the input. */
fprintf (stderr, "gdb internal error: ");
fprintf (stderr, string, arg);
fprintf (stderr, "\n");
signal (SIGQUIT, SIG_DFL);
@ -698,7 +700,7 @@ fprintf_filtered (stream, format, arg1, arg2, arg3, arg4, arg5, arg6)
/* This won't blow up if the restrictions described above are
followed. */
(void) sprintf (linebuffer, format, arg1, arg2, arg3);
(void) sprintf (linebuffer, format, arg1, arg2, arg3, arg4, arg5, arg6);
fputs_filtered (linebuffer, stream);
}