diff options
author | Stu Grossman <grossman@cygnus> | 1995-03-07 08:57:32 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-03-07 08:57:32 +0000 |
commit | 7baea9460866303161d1598eddb93a936973ef1d (patch) | |
tree | 277f3430e52757aa8273e70c4743415d91abbcd1 | |
parent | 236274b9f8702183dc674bc53e4e09fc7beb9d0b (diff) | |
download | gdb-7baea9460866303161d1598eddb93a936973ef1d.zip gdb-7baea9460866303161d1598eddb93a936973ef1d.tar.gz gdb-7baea9460866303161d1598eddb93a936973ef1d.tar.bz2 |
* defs.h utils.c remote-hms.c remote-pa.c remote.c: Fix defs and
usage of fputc_unfiltered and putchar_unfiltered. Eliminate
putc_unfiltered (it's superfluous).
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/remote-hms.c | 4 | ||||
-rw-r--r-- | gdb/remote-os9k.c | 7 | ||||
-rw-r--r-- | gdb/remote-pa.c | 4 |
4 files changed, 8 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 605b52a..149c682 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com) + * defs.h utils.c remote-hms.c remote-pa.c remote.c: Fix defs and + usage of fputc_unfiltered and putchar_unfiltered. Eliminate + putc_unfiltered (it's superfluous). + * command.h command.c: Add var_enum command type. It's like var_string but allows only only one of the specified strings. diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index 4305ef2..371fb38 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -521,12 +521,12 @@ hms_wait (pid, status) /* Print out any characters which have been swallowed. */ for (p = swallowed; p < swallowed_p; ++p) - putc_unfiltered (*p); + putchar_unfiltered (*p); swallowed_p = swallowed; if ((ch != '\r' && ch != '\n') || swallowed_cr > 10) { - putc_unfiltered (ch); + putchar_unfiltered (ch); swallowed_cr = 10; } swallowed_cr++; diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index 9b6f7ba..a4f4e86 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -49,13 +49,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "symfile.h" #include "objfiles.h" #include "gdb-stabs.h" -#include <termio.h> - -#ifdef HAVE_TERMIO -# define TERMINAL struct termios -#else -# define TERMINAL struct sgttyb -#endif struct monitor_ops *current_monitor; struct cmd_list_element *showlist; diff --git a/gdb/remote-pa.c b/gdb/remote-pa.c index ed4286b..58837bf 100644 --- a/gdb/remote-pa.c +++ b/gdb/remote-pa.c @@ -1196,7 +1196,7 @@ putpkt (buf) case '$': if (started_error_output) { - putc_unfiltered ('\n'); + putchar_unfiltered ('\n'); started_error_output = 0; } } @@ -1227,7 +1227,7 @@ putpkt (buf) started_error_output = 1; printf_unfiltered ("putpkt: Junk: "); } - putc_unfiltered (ch & 0177); + putchar_unfiltered (ch & 0177); } continue; } |