This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [2/10] RFC: add "catch rethrow"
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 06 Mar 2013 23:35:03 +0200
- Subject: Re: [2/10] RFC: add "catch rethrow"
- References: <87y5e0jkfv.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Date: Wed, 06 Mar 2013 14:19:00 -0700
>
> PR c++/12824:
> * NEWS: Update.
> * breakpoint.c (enum exception_event_kind) <EX_EVENT_RETHROW>:
> New constant.
> (classify_exception_breakpoint): New function.
> (print_it_exception_catchpoint, print_one_exception_catchpoint)
> (print_mention_exception_catchpoint)
> (print_recreate_exception_catchpoint, handle_gnu_v3_exceptions)
> (catch_exception_command_1): Handle "rethrow" catchpoint.
> (catch_rethrow_command): New function.
> (_initialize_breakpoint): Add "catch rethrow" command.
>
> * gdb.texinfo (Set Catchpoints): Reorganize exception
> catchpoints. Document "catch rethrow".
> (Debugging C Plus Plus): Mention "catch rethrow".
>
> * gdb.cp/exception.exp: Add "catch rethrow" tests.
OK for the documentation part.
Thanks.