diff options
author | Stan Shebs <shebs@apple.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-04-26 18:34:20 +0000 |
commit | fe454715791b86ad488b33c1f325478803c8108c (patch) | |
tree | 91ec960676c78ffeab24ee2101fa128d2cc0f958 /gdb/remote-sds.c | |
parent | f3db0d6e5952e6aa06bdad615829b42d2cf52f71 (diff) | |
download | gdb-fe454715791b86ad488b33c1f325478803c8108c.tar.gz |
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/remote-sds.c')
-rw-r--r-- | gdb/remote-sds.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c index 3ab5f44bbef..74a86806081 100644 --- a/gdb/remote-sds.c +++ b/gdb/remote-sds.c @@ -471,8 +471,8 @@ sds_wait (pid, status) retlen = sds_send (buf, 1); if (remote_debug) { - fprintf_unfiltered (gdb_stderr, "Signals: %04x %02x %02x\n", - ((int) buf[0]) << 8 + buf[1], + fprintf_unfiltered (gdb_stderr, "Signals: %02x%02x %02x %02x\n", + buf[0], buf[1], buf[2], buf[3]); } message_pending = 0; @@ -925,11 +925,7 @@ getmessage (buf, forever) if (forever) { -#ifdef MAINTENANCE_CMDS timeout = watchdog > 0 ? watchdog : -1; -#else - timeout = -1; -#endif } else @@ -953,13 +949,11 @@ getmessage (buf, forever) if (c == SERIAL_TIMEOUT) { -#ifdef MAINTENANCE_CMDS if (forever) /* Watchdog went off. Kill the target. */ { target_mourn_inferior (); error ("Watchdog has expired. Target detached.\n"); } -#endif if (remote_debug) puts_filtered ("Timed out.\n"); goto retry; |