diff options
author | Stu Grossman <grossman@cygnus> | 1992-09-15 06:27:18 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-09-15 06:27:18 +0000 |
commit | a8e033f2a2dca7a104e66ab1351c46fc2c2baf03 (patch) | |
tree | 2a65792c4fd0585c290d7bf8a2bebafbe4f237dc /gdb/core.c | |
parent | b36e3a9b49aa9a2a24555e0a6a50f5cd3d5323b7 (diff) | |
download | gdb-a8e033f2a2dca7a104e66ab1351c46fc2c2baf03.zip gdb-a8e033f2a2dca7a104e66ab1351c46fc2c2baf03.tar.gz gdb-a8e033f2a2dca7a104e66ab1351c46fc2c2baf03.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/core.c')
-rw-r--r-- | gdb/core.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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)); } } |