From: Michael Snyder Date: Wed, 29 Aug 2007 22:04:15 +0000 (+0000) Subject: 2007-08-29 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13ce713376c4675803b8cc8f10176b22bdadcdd0;p=binutils-gdb.git 2007-08-29 Michael Snyder * event-top.c (gdb_readline2): Return after EOF. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 655371dc0bc..85e8c85109a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-08-29 Michael Snyder + + * event-top.c (gdb_readline2): Return after EOF. + 2007-08-29 Joel Brobecker * 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 962a68417ae..3bcf7f49ecc 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')