* breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c,

symfile.c, target.c, valprint.c:  Use _filtered form of *printf.
defs.h, utils.c:  Make vfprintf_filtered global.
This commit is contained in:
Stu Grossman
1992-09-15 06:27:18 +00:00
parent b36e3a9b49
commit a8e033f2a2
10 changed files with 209 additions and 125 deletions

View File

@@ -167,11 +167,11 @@ core_open (filename, from_tty)
p = bfd_core_file_failing_command (core_bfd);
if (p)
printf ("Core was generated by `%s'.\n", p);
printf_filtered ("Core was generated by `%s'.\n", p);
siggy = bfd_core_file_failing_signal (core_bfd);
if (siggy > 0)
printf ("Program terminated with signal %d, %s.\n", siggy,
printf_filtered ("Program terminated with signal %d, %s.\n", siggy,
safe_strsignal (siggy));
if (ontop) {
@@ -204,7 +204,7 @@ core_detach (args, from_tty)
error ("Too many arguments");
unpush_target (&core_ops);
if (from_tty)
printf ("No core file now.\n");
printf_filtered ("No core file now.\n");
}
/* Backward compatability with old way of specifying core files. */
@@ -405,7 +405,7 @@ get_core_registers (regno)
else
{
cant:
fprintf (stderr, "Couldn't fetch registers from core file: %s\n",
fprintf_filtered (stderr, "Couldn't fetch registers from core file: %s\n",
bfd_errmsg (bfd_error));
}
@@ -422,7 +422,7 @@ cant:
}
else
{
fprintf (stderr, "Couldn't fetch register set 2 from core file: %s\n",
fprintf_filtered (stderr, "Couldn't fetch register set 2 from core file: %s\n",
bfd_errmsg (bfd_error));
}
}