From 13ce713376c4675803b8cc8f10176b22bdadcdd0 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 29 Aug 2007 22:04:15 +0000 Subject: [PATCH] 2007-08-29 Michael Snyder * event-top.c (gdb_readline2): Return after EOF. --- gdb/ChangeLog | 4 ++++ gdb/event-top.c | 1 + 2 files changed, 5 insertions(+) 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') -- 2.30.2