aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/top.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8cf2b10..22e31fb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
+
2007-02-28 Joel Brobecker <brobecker@adacore.com>
* stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
diff --git a/gdb/top.c b/gdb/top.c
index b7fdd4e..c380ac9 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -770,7 +770,6 @@ gdb_readline_wrapper_cleanup (void *arg)
{
struct gdb_readline_wrapper_cleanup *cleanup = arg;
- gdb_assert (rl_already_prompted == 1);
rl_already_prompted = cleanup->already_prompted_orig;
PROMPT (0) = cleanup->prompt_orig;