diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 2000-01-18 00:55:13 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 2000-01-18 00:55:13 +0000 |
commit | 3737fc11419f15ae6e62cc9bfbc045e70b6b4e4d (patch) | |
tree | bd191e1f9d4f39010488623b3f0da4fafd4e6c11 /gdb/event-top.c | |
parent | fc40d2f38bbc9727fca36b079b035400de581f7a (diff) | |
download | gdb-3737fc11419f15ae6e62cc9bfbc045e70b6b4e4d.tar.gz |
import gdb-2000-01-17 snapshot
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index cac492220b7..3d21a1a2b21 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); |