aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-29 22:04:15 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-29 22:04:15 +0000
commit13ce713376c4675803b8cc8f10176b22bdadcdd0 (patch)
tree5ff04c3826f4d2b4869da352558a28f806316237 /gdb/event-top.c
parentd8faab4eaa126a26c49b1283b2be57c3869a8eac (diff)
downloadgdb-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/event-top.c')
-rw-r--r--gdb/event-top.c1
1 files changed, 1 insertions, 0 deletions
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')