aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-01 18:12:43 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-01 18:12:43 +0000
commite41eec6613d4f4410b58159f2b3d23f3414be8d5 (patch)
tree8c09ea17b2477e3a3e54968da5143a0b047603b7 /gdb/NEWS
parent19c37f244725c4c8179b9cfcc8b1bba537d7dd79 (diff)
downloadgdb-e41eec6613d4f4410b58159f2b3d23f3414be8d5.zip
gdb-e41eec6613d4f4410b58159f2b3d23f3414be8d5.tar.gz
gdb-e41eec6613d4f4410b58159f2b3d23f3414be8d5.tar.bz2
[NEWS] Document condition at end of catch exception/assert commands
gdb/ChangeLog: * NEWS: Document the fact that one can provide a condition when creating an Ada exception catchpoint.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 090a065..7a4812b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -44,6 +44,16 @@
* The command "info catch" has been removed. It has been disabled
since December 2007.
+* The "catch exception" and "catch assert" commands now accept
+ a condition at the end of the command, much like the "break"
+ command does. For instance:
+
+ (gdb) catch exception Constraint_Error if Barrier = True
+
+ Previously, it was possible to add a condition to such catchpoints,
+ but it had to be done as a second step, after the catchpoint had been
+ created, using the "condition" command.
+
* New commands
** "catch load" and "catch unload" can be used to stop when a shared