Add $_ada_exception convenience variable
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / catch_ex_std.exp
index 63714a8aa8197305ef43942ebbb924604276bbce..839d0bb092f81ad545d817715086e3cb93822b6e 100644 (file)
@@ -101,3 +101,6 @@ gdb_test "catch exception some_kind_of_error" \
 gdb_test "cont" \
     "Catchpoint \[0-9\]+, .* at .*foo\.adb:\[0-9\]+.*" \
     "caught the exception"
+
+gdb_test "print \$_ada_exception = some_package.some_kind_of_error'Address" \
+    " = true"
This page took 0.024948 seconds and 4 git commands to generate.