Rename gdb exception types
[deliverable/binutils-gdb.git] / gdb / printcmd.c
index 8b6f1ca0323ee3ace1840f7039d3f38fe6da6b13..9e84594fe687030e328603def20cfb0b9b674288 100644 (file)
@@ -1887,7 +1887,7 @@ do_one_display (struct display *d)
          d->exp = parse_expression (d->exp_string, &tracker);
          d->block = tracker.block ();
        }
-      catch (const gdb_exception_RETURN_MASK_ALL &ex)
+      catch (const gdb_exception &ex)
        {
          /* Can't re-parse the expression.  Disable this display item.  */
          d->enabled_p = 0;
@@ -1952,7 +1952,7 @@ do_one_display (struct display *d)
            addr = gdbarch_addr_bits_remove (d->exp->gdbarch, addr);
          do_examine (d->format, d->exp->gdbarch, addr);
        }
-      catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+      catch (const gdb_exception_error &ex)
        {
          fprintf_filtered (gdb_stdout, _("<error: %s>\n"),
                            ex.what ());
@@ -1986,7 +1986,7 @@ do_one_display (struct display *d)
          val = evaluate_expression (d->exp.get ());
          print_formatted (val, d->format.size, &opts, gdb_stdout);
        }
-      catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+      catch (const gdb_exception_error &ex)
        {
          fprintf_filtered (gdb_stdout, _("<error: %s>"), ex.what ());
        }
@@ -2189,7 +2189,7 @@ print_variable_and_value (const char *name, struct symbol *var,
         function.  */
       frame = NULL;
     }
-  catch (const gdb_exception_RETURN_MASK_ERROR &except)
+  catch (const gdb_exception_error &except)
     {
       fprintf_filtered (stream, "<error reading variable %s (%s)>", name,
                        except.what ());
This page took 0.025419 seconds and 4 git commands to generate.