From: Joel Brobecker <brobecker@adacore.com>
To: Xavier Roirand <roirand@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA/v5] (Ada) New command to stop at start of exception handler.
Date: Wed, 03 Jan 2018 03:23:00 -0000 [thread overview]
Message-ID: <20180103032345.evvfmbcaubfy43uw@adacore.com> (raw)
In-Reply-To: <1514908089-29151-1-git-send-email-roirand@adacore.com>
Hi Xavier,
> gdb/ChangeLog:
>
> * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
> Add field.
> * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
> Add field.
> (default_exception_support_info) <catch_handlers_sym>: Add field.
> (exception_support_info_fallback) <catch_handlers_sym>: Add field.
> (ada_exception_name_addr_1): Add "catch handlers" handling.
> (ada_exception_catchpoint_cond_string) <ex>: New parameter.
> Update all callers.
> (create_excep_cond_exprs) <ex>: Add parameter.
> (re_set_exception): Update create_excep_cond_exprs call.
> (print_it_exception, print_one_exception, print_mention_exception)
> (print_recreate_exception): Add "catch handler" handling.
> (allocate_location_catch_handlers, re_set_catch_handlers)
> (check_status_catch_handlers, print_it_catch_handlers)
> (print_one_catch_handlers, print_mention_catch_handlers)
> (print_recreate_catch_handlers): New function.
> (catch_handlers_breakpoint_ops): New variable.
> (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
> Add parameter. Add "catch handler" handling.
> (ada_exception_sym_name, ada_exception_breakpoint_ops):
> Add "catch handler" handling.
> (ada_exception_catchpoint_cond_string): Add "catch handler"
> handling.
> (create_ada_exception_catchpoint): Update create_excep_cond_exprs
> call.
> (catch_ada_handlers_command): New function.
> (initialize_ada_catchpoint_ops): Initialize "catch handlers"
> operations structure.
> (_initialize_ada_language): Add "catch handlers" command entry.
> * NEWS: Document "catch handlers" feature.
>
> gdb/doc/ChangeLog:
>
> * gdb.texinfo (Set Catchpoints): Add documentation for new
> "catch handlers" action.
>
> gdb/testsuite/ChangeLog:
>
> gdb.ada/excep_handle.exp: New testcase.
> gdb.ada/excep_handle/foo.adb: New file.
> gdb.ada/excep_handle/pck.ads: New file.
>
> Tested on x86_64-linux.
Looks good. You can go ahead and push. Just remember to
actually add the 3 ChangeLog entries before doing so! ;-)
--
Joel
next prev parent reply other threads:[~2018-01-03 3:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-02 15:48 Xavier Roirand
2018-01-03 3:23 ` Joel Brobecker [this message]
2018-01-03 14:00 ` [pushed] " Xavier Roirand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180103032345.evvfmbcaubfy43uw@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=roirand@adacore.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox