From e93790f05e8c8d76929171b8b70c3c1c92e8676f Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Fri, 13 Aug 1993 21:49:51 +0000 Subject: [PATCH] * remote-hms.c (hms_wait): use -1 for timeout's which means block forever rather than 99999. --- gdb/ChangeLog | 3 +++ gdb/remote-hms.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 348027ebaaf..08b2a389931 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 126babc5f1d..562f88329d3 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) { -- 2.30.2