(Ada) Add gdb-mi support for stopping at start of exception handler.
authorXavier Roirand <roirand@adacore.com>
Fri, 26 Jan 2018 10:13:11 +0000 (11:13 +0100)
committerXavier Roirand <roirand@adacore.com>
Wed, 31 Jan 2018 12:42:30 +0000 (13:42 +0100)
commitbea298f9547372e6cb7854fabc2c0646e1d3d9be
tree3e344dc77f6480fb5612f00bbb54367adbffebd4
parent56ecd069f031d6bcdaa46664c68a16cb27b379c3
(Ada) Add gdb-mi support for stopping at start of exception handler.

Following my previous commit which add support for stopping at start of
exception handler, this commit adds required gdb-mi support for this
feature.

gdb/ChangeLog:

    * mi/mi-cmd-catch.c (mi_cmd_catch_handlers): New function.
    * mi/mi-cmds.c (mi_cmds): Add catch-handlers command.
    * mi/mi-cmds.h (mi_cmd_catch_handlers): Add external declaration.
    * NEWS: Document "-catch-handlers" command.

gdb/doc/ChangeLog:

    * gdb.texinfo (Ada Exception gdb/mi Catchpoints): Add
    documentation for new "-catch-handlers" command.

gdb/testsuite/ChangeLog:

    * gdb.ada/mi_catch_ex_hand.exp: New testcase.
    * gdb.ada/mi_catch_ex_hand/foo.adb: New file.

Tested on x86_64-linux.
gdb/NEWS
gdb/doc/gdb.texinfo
gdb/mi/mi-cmd-catch.c
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/testsuite/gdb.ada/mi_catch_ex_hand.exp [new file with mode: 0644]
gdb/testsuite/gdb.ada/mi_catch_ex_hand/foo.adb [new file with mode: 0644]
This page took 0.043954 seconds and 4 git commands to generate.