From e41eec6613d4f4410b58159f2b3d23f3414be8d5 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 1 Mar 2012 18:12:43 +0000 Subject: [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. --- gdb/ChangeLog | 5 +++++ gdb/NEWS | 10 ++++++++++ 2 files changed, 15 insertions(+) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3db8b8d..48ebb4b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-01 Joel Brobecker + + * NEWS: Document the fact that one can provide a condition when + creating an Ada exception catchpoint. + 2012-03-01 Tom Tromey * valprint.c (val_print_type_code_flags): Fix placement of 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 -- cgit v1.1