diff options
author | Kung Hsu <kung@cygnus> | 1995-06-22 20:16:56 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1995-06-22 20:16:56 +0000 |
commit | 89fd75ae2b6c679eb012b17011c14234f077fcce (patch) | |
tree | 0ce394e0c37e0719b9dc7658620a957225d54a07 /gdb | |
parent | d513119138d7c44094ef3b07f70b7a0ae2cd66c1 (diff) | |
download | gdb-89fd75ae2b6c679eb012b17011c14234f077fcce.zip gdb-89fd75ae2b6c679eb012b17011c14234f077fcce.tar.gz gdb-89fd75ae2b6c679eb012b17011c14234f077fcce.tar.bz2 |
* remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/remote-nindy.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5fea419..99de17f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 22 13:12:33 1995 Kung Hsu <kung@mexican.cygnus.com> + + * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR. + Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu) * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index 7876d5b..0fcaf2f 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -359,14 +359,14 @@ nindy_wait( pid, status ) while (1) { /* Input on remote */ - c = SERIAL_READCHAR (nindy_serial, 0); + c = SERIAL_READCHAR (nindy_serial, -1); if (c == SERIAL_ERROR) { error ("Cannot read from serial line"); } else if (c == 0x1b) /* ESC */ { - c = SERIAL_READCHAR (nindy_serial, 0); + c = SERIAL_READCHAR (nindy_serial, 1); c &= ~0x40; } else if (c != 0x10) /* DLE */ |