summaryrefslogtreecommitdiff
path: root/gdb/remote-st.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2002-04-29 11:01:13 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2002-04-29 11:01:13 +0000
commit0463c209547d410ad1524e9b3eb01f57200f26ff (patch)
treed959962efbebaa255b8a05672223149aa48626ef /gdb/remote-st.c
parent800c2002588a43e7015d28a523eb7e90ada85ca0 (diff)
downloadgdb-0463c209547d410ad1524e9b3eb01f57200f26ff.tar.gz
2002-04-24 Pierre Muller <ics.u-strasbg.fr>
* remote-array.c (printf_monitor, write_monitor, array_insert_breakpoint, array_remove_breakpoint ): Replace fprintf (stderr,... with fprintf_unfiltered (gdb_stderr,.... * remote-es.c: Likewise. * remote-os9k.c: Likewise. * remote-st.c: Likewise.
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r--gdb/remote-st.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c
index 46d8eab15a2..c27ddebbf3b 100644
--- a/gdb/remote-st.c
+++ b/gdb/remote-st.c
@@ -79,7 +79,8 @@ printf_stdebug (char *pattern,...)
va_end (args);
if (serial_write (st2000_desc, buf, strlen (buf)))
- fprintf (stderr, "serial_write failed: %s\n", safe_strerror (errno));
+ fprintf_unfiltered (gdb_stderr, "serial_write failed: %s\n",
+ safe_strerror (errno));
}
/* Read a character from the remote system, doing all the fancy timeout
@@ -324,9 +325,9 @@ st2000_close (int quitting)
if (log_file)
{
if (ferror (log_file))
- fprintf (stderr, "Error writing log file.\n");
+ fprintf_unfiltered (gdb_stderr, "Error writing log file.\n");
if (fclose (log_file) != 0)
- fprintf (stderr, "Error closing log file.\n");
+ fprintf_unfiltered (gdb_stderr, "Error closing log file.\n");
}
#endif
}
@@ -616,7 +617,7 @@ st2000_insert_breakpoint (CORE_ADDR addr, char *shadow)
return 0;
}
- fprintf (stderr, "Too many breakpoints (> 16) for STDBUG\n");
+ fprintf_unfiltered (gdb_stderr, "Too many breakpoints (> 16) for STDBUG\n");
return 1;
}
@@ -635,7 +636,8 @@ st2000_remove_breakpoint (CORE_ADDR addr, char *shadow)
return 0;
}
- fprintf (stderr, "Can't find breakpoint associated with 0x%x\n", addr);
+ fprintf_unfiltered (gdb_stderr,
+ "Can't find breakpoint associated with 0x%x\n", addr);
return 1;
}