diff options
author | Pierre Muller <muller@sourceware.org> | 2002-04-29 11:01:13 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2002-04-29 11:01:13 +0000 |
commit | f8d17dc5b4dcb077ae1702e78b4fae0eb2b8cffb (patch) | |
tree | 70fd96ff3ec6fac661e462ad02c582dbdadea98f /gdb/remote-array.c | |
parent | 7ba93af661edc33c2b952dcdd502493182ea4f1d (diff) | |
download | gdb-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-array.c')
-rw-r--r-- | gdb/remote-array.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gdb/remote-array.c b/gdb/remote-array.c index 204aaed..ed0c40e 100644 --- a/gdb/remote-array.c +++ b/gdb/remote-array.c @@ -193,7 +193,8 @@ printf_monitor (char *pattern,...) if (strlen (buf) > PBUFSIZ) error ("printf_monitor(): string too long"); if (serial_write (array_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)); } /* * write_monitor -- send raw data to monitor. @@ -202,7 +203,8 @@ static void write_monitor (char data[], int len) { if (serial_write (array_desc, data, len)) - fprintf (stderr, "serial_write failed: %s\n", safe_strerror (errno)); + fprintf_unfiltered (gdb_stderr, "serial_write failed: %s\n", + safe_strerror (errno)); *(data + len + 1) = '\0'; debuglogs (1, "write_monitor(), Sending: \"%s\".", data); @@ -1053,7 +1055,7 @@ array_insert_breakpoint (CORE_ADDR addr, char *shadow) } } - fprintf (stderr, "Too many breakpoints (> 16) for monitor\n"); + fprintf_unfiltered (gdb_stderr, "Too many breakpoints (> 16) for monitor\n"); return 1; } @@ -1078,8 +1080,9 @@ array_remove_breakpoint (CORE_ADDR addr, char *shadow) return 0; } } - fprintf (stderr, "Can't find breakpoint associated with 0x%s\n", - paddr_nz (addr)); + fprintf_unfiltered (gdb_stderr, + "Can't find breakpoint associated with 0x%s\n", + paddr_nz (addr)); return 1; } |