]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/cli/cli-script.c
Rename gdb exception types
[thirdparty/binutils-gdb.git] / gdb / cli / cli-script.c
index 49645537fe32e00b318995f88c24ee5961423535..d124d3a6c2840c286df5e890a0a4c6c82ed29d43 100644 (file)
@@ -1054,7 +1054,7 @@ process_next_line (const char *p, struct command_line **command,
        {
          validator ((*command)->line);
        }
-      catch (const gdb_exception_RETURN_MASK_ALL &ex)
+      catch (const gdb_exception &ex)
        {
          free_command_lines (command);
          throw_exception (ex);
@@ -1543,7 +1543,7 @@ script_from_file (FILE *stream, const char *file)
     {
       read_command_file (stream);
     }
-  catch (const gdb_exception_RETURN_MASK_ERROR &e)
+  catch (const gdb_exception_error &e)
     {
       /* Re-throw the error, but with the file name information
         prepended.  */