2011-08-04 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / top.c
index 7b98353de54d4ae2608d241c51fa1ea91940d1d1..da930ca28893f91082256d21d166c1016bb7f8ff 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -797,8 +797,7 @@ gdb_readline_wrapper (char *prompt)
     (*after_char_processing_hook) ();
   gdb_assert (after_char_processing_hook == NULL);
 
-  /* gdb_do_one_event argument is unused.  */
-  while (gdb_do_one_event (NULL) >= 0)
+  while (gdb_do_one_event () >= 0)
     if (gdb_readline_wrapper_done)
       break;
 
This page took 0.02366 seconds and 4 git commands to generate.