aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dap/catch-exception/prog.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dap/catch-exception/prog.adb')
-rw-r--r--gdb/testsuite/gdb.dap/catch-exception/prog.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dap/catch-exception/prog.adb b/gdb/testsuite/gdb.dap/catch-exception/prog.adb
index ed60272..7a5a31d 100644
--- a/gdb/testsuite/gdb.dap/catch-exception/prog.adb
+++ b/gdb/testsuite/gdb.dap/catch-exception/prog.adb
@@ -19,15 +19,14 @@ procedure Prog is
begin
begin
- raise Program_Error;
+ raise Constraint_Error;
exception
when others =>
null;
end;
begin
- Global_Var := 23;
- raise Program_Error;
+ raise Program_Error; -- EXPECTED
exception
when others =>
null;