Fix test names starting with uppercase using multi-line gdb_test_no_output
[deliverable/binutils-gdb.git] / gdb / inf-loop.c
index 8aecfe6af50f873f116e72c42d0b3344920d68fd..d006df87476bb8fa79101c9f52475e9c53f03c72 100644 (file)
@@ -1,5 +1,5 @@
 /* Handling of inferior events for the event loop for GDB, the GNU debugger.
-   Copyright (C) 1999-2015 Free Software Foundation, Inc.
+   Copyright (C) 1999-2016 Free Software Foundation, Inc.
    Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
 
    This file is part of GDB.
@@ -61,7 +61,7 @@ inferior_event_handler (enum inferior_event_type event_type,
 
       /* When running a command list (from a user command, say), these
         are only run when the command list is all done.  */
-      if (interpreter_async)
+      if (current_ui->async)
        {
          check_frame_language_change ();
 
@@ -80,7 +80,6 @@ inferior_event_handler (enum inferior_event_type event_type,
        }
       break;
 
-    case INF_TIMER:
     default:
       printf_unfiltered (_("Event type not recognized.\n"));
       break;
This page took 0.023707 seconds and 4 git commands to generate.