diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-08-29 22:04:15 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-08-29 22:04:15 +0000 |
commit | 13ce713376c4675803b8cc8f10176b22bdadcdd0 (patch) | |
tree | 5ff04c3826f4d2b4869da352558a28f806316237 /gdb | |
parent | d8faab4eaa126a26c49b1283b2be57c3869a8eac (diff) | |
download | gdb-13ce713376c4675803b8cc8f10176b22bdadcdd0.zip gdb-13ce713376c4675803b8cc8f10176b22bdadcdd0.tar.gz gdb-13ce713376c4675803b8cc8f10176b22bdadcdd0.tar.bz2 |
2007-08-29 Michael Snyder <msnyder@access-company.com>
* event-top.c (gdb_readline2): Return after EOF.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/event-top.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 655371d..85e8c85 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-08-29 Michael Snyder <msnyder@access-company.com> + + * event-top.c (gdb_readline2): Return after EOF. + 2007-08-29 Joel Brobecker <brobecker@adacore.com> * symtab.c: Remove a function that has been commented out 3 years ago. diff --git a/gdb/event-top.c b/gdb/event-top.c index 962a684..3bcf7f4 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -863,6 +863,7 @@ gdb_readline2 (gdb_client_data client_data) break; xfree (result); (*input_handler) (0); + return; } if (c == '\n') |