aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-os9k.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2002-04-29 11:01:13 +0000
committerPierre Muller <muller@sourceware.org>2002-04-29 11:01:13 +0000
commitf8d17dc5b4dcb077ae1702e78b4fae0eb2b8cffb (patch)
tree70fd96ff3ec6fac661e462ad02c582dbdadea98f /gdb/remote-os9k.c
parent7ba93af661edc33c2b952dcdd502493182ea4f1d (diff)
downloadgdb-f8d17dc5b4dcb077ae1702e78b4fae0eb2b8cffb.zip
gdb-f8d17dc5b4dcb077ae1702e78b4fae0eb2b8cffb.tar.gz
gdb-f8d17dc5b4dcb077ae1702e78b4fae0eb2b8cffb.tar.bz2
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-os9k.c')
-rw-r--r--gdb/remote-os9k.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c
index 2cedfb0..0a703eb 100644
--- a/gdb/remote-os9k.c
+++ b/gdb/remote-os9k.c
@@ -101,7 +101,8 @@ printf_monitor (char *pattern,...)
va_end (args);
if (serial_write (monitor_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 stuff */
@@ -380,9 +381,9 @@ rombug_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");
log_file = 0;
}
}
@@ -883,7 +884,7 @@ rombug_insert_breakpoint (CORE_ADDR addr, char *shadow)
return 0;
}
- fprintf (stderr, "Too many breakpoints (> 16) for monitor\n");
+ fprintf_unfiltered (gdb_stderr, "Too many breakpoints (> 16) for monitor\n");
return 1;
}
@@ -908,7 +909,8 @@ rombug_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;
}
@@ -949,7 +951,9 @@ rombug_load (char *arg)
if (serial_write (monitor_desc, buf, bytes_read))
{
- fprintf (stderr, "serial_write failed: (while downloading) %s\n", safe_strerror (errno));
+ fprintf_unfiltered (gdb_stderr,
+ "serial_write failed: (while downloading) %s\n",
+ safe_strerror (errno));
break;
}
i = 0;