Do not allocate psymtabs via psymtab_storage
[deliverable/binutils-gdb.git] / gdb / inf-loop.c
index 0aca863490a687c96136f028e26b909b8641d559..987a8ef48fe2c9c774071e566240b6ddf0967619 100644 (file)
@@ -1,5 +1,5 @@
 /* Handling of inferior events for the event loop for GDB, the GNU debugger.
-   Copyright (C) 1999-2019 Free Software Foundation, Inc.
+   Copyright (C) 1999-2020 Free Software Foundation, Inc.
    Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
 
    This file is part of GDB.
@@ -71,7 +71,7 @@ inferior_event_handler (enum inferior_event_type event_type,
            {
              bpstat_do_actions ();
            }
-         catch (const gdb_exception_RETURN_MASK_ALL &e)
+         catch (const gdb_exception &e)
            {
              /* If the user was running a foreground execution
                 command, then propagate the error so that the prompt
@@ -79,7 +79,7 @@ inferior_event_handler (enum inferior_event_type event_type,
                 the prompt and is typing some unrelated command, so
                 just inform the user and swallow the exception.  */
              if (current_ui->prompt_state == PROMPT_BLOCKED)
-               throw_exception (e);
+               throw;
              else
                exception_print (gdb_stderr, e);
            }
This page took 0.036881 seconds and 4 git commands to generate.