[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.
This commit is contained in:
parent
19c37f2447
commit
e41eec6613
|
@ -1,3 +1,8 @@
|
|||
2012-03-01 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* NEWS: Document the fact that one can provide a condition when
|
||||
creating an Ada exception catchpoint.
|
||||
|
||||
2012-03-01 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* valprint.c (val_print_type_code_flags): Fix placement of
|
||||
|
|
10
gdb/NEWS
10
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
|
||||
|
|
Loading…
Reference in New Issue