aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-01-18 00:55:13 +0000
committerJason Molenda <jmolenda@apple.com>2000-01-18 00:55:13 +0000
commitc5394b80aefdea6b2f589723a4b79bcbc1942629 (patch)
treec53989048ae15966e62006aaee403659bde346bf /gdb/event-top.c
parent67a95c88f38aa938757c92389ba59bbc89e7fa79 (diff)
downloadgdb-c5394b80aefdea6b2f589723a4b79bcbc1942629.zip
gdb-c5394b80aefdea6b2f589723a4b79bcbc1942629.tar.gz
gdb-c5394b80aefdea6b2f589723a4b79bcbc1942629.tar.bz2
import gdb-2000-01-17 snapshot
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index cac4922..3d21a1a 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -410,7 +410,7 @@ stdin_event_handler (int error, gdb_client_data client_data)
delete_file_handler (input_fd);
discard_all_continuations ();
/* If stdin died, we may as well kill gdb. */
- exit (1);
+ quit_command ((char *) 0, stdin == instream);
}
else
(*call_readline) (client_data);