diff options
author | K. Richard Pixley <rich@cygnus> | 1993-08-13 21:49:51 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-08-13 21:49:51 +0000 |
commit | e93790f05e8c8d76929171b8b70c3c1c92e8676f (patch) | |
tree | ff0046d95cdd42d01edbe9d23cdd3ae6ac284c49 | |
parent | 057c2f477346a2b96f06cff1ae60010f47f05976 (diff) | |
download | gdb-e93790f05e8c8d76929171b8b70c3c1c92e8676f.zip gdb-e93790f05e8c8d76929171b8b70c3c1c92e8676f.tar.gz gdb-e93790f05e8c8d76929171b8b70c3c1c92e8676f.tar.bz2 |
* remote-hms.c (hms_wait): use -1 for timeout's which means block
forever rather than 99999.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/remote-hms.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 348027e..08b2a38 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Fri Aug 13 14:37:05 1993 K. Richard Pixley (rich@sendai.cygnus.com) + * remote-hms.c (hms_wait): use -1 for timeout's which means block + forever rather than 99999. + * ser-unix.c (get_tty_state): if a descriptor is not a tty, then simply save encode this fact as the process group and return success rather than an error. diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index 126babc..562f883 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -702,7 +702,7 @@ hms_wait (status) return 0; } - timeout = 99999; /* Don't time out -- user program is running. */ + timeout = -1; /* Don't time out -- user program is running. */ immediate_quit = 1; /* Helps ability to QUIT */ while (1) { |