[gdb/testsuite] Fix "unable to find usable gdb" error with cc-with-tweaks.exp
[deliverable/binutils-gdb.git] / gdb / value.c
index 99a27b5e7b346f1fab0bda196fc01e1d5299091d..dad9f07b68eb030b0ec8136c0dda9bfe632b518c 100644 (file)
@@ -1409,7 +1409,7 @@ value_optimized_out (struct value *value)
        {
          value_fetch_lazy (value);
        }
-      catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+      catch (const gdb_exception_error &ex)
        {
          /* Fall back to checking value->optimized_out.  */
        }
@@ -2541,7 +2541,7 @@ show_convenience (const char *ignore, int from_tty)
          val = value_of_internalvar (gdbarch, var);
          value_print (val, gdb_stdout, &opts);
        }
-      catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+      catch (const gdb_exception_error &ex)
        {
          fprintf_filtered (gdb_stdout, _("<error: %s>"), ex.what ());
        }
This page took 0.024003 seconds and 4 git commands to generate.