This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA/NEWS] Document condition at end of catch exception/assert commands
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 29 Feb 2012 15:34:13 -0800
- Subject: [RFA/NEWS] Document condition at end of catch exception/assert commands
- References: <1330542690-22717-1-git-send-email-brobecker@adacore.com>
This is the news entry promised at:
http://www.sourceware.org/ml/gdb-patches/2012-02/msg00727.html
gdb/ChangeLog:
* NEWS: Document the fact that one can provide a condition when
creating an Ada exception catchpoint.
OK to commit?
Thanks,
--
Joel
---
gdb/NEWS | 10 ++++++++++
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
--
1.7.1