]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/common/common-exceptions.c
Rename gdb exception types
[thirdparty/binutils-gdb.git] / gdb / common / common-exceptions.c
index b2d8e25793286e80f95bc45831f256c6934bde54..d00a805dd1f30b439ac3b5e1e9c8f0375986b975 100644 (file)
@@ -195,12 +195,12 @@ throw_exception_cxx (struct gdb_exception exception)
 {
   if (exception.reason == RETURN_QUIT)
     {
-      gdb_exception_RETURN_MASK_QUIT ex (exception);
+      gdb_exception_quit ex (exception);
       throw ex;
     }
   else if (exception.reason == RETURN_ERROR)
     {
-      gdb_exception_RETURN_MASK_ERROR ex (exception);
+      gdb_exception_error ex (exception);
       throw ex;
     }
   else