binutils-gdb/gdb/mi
Joel Brobecker 349774efe2 New GDB/MI commands to catch Ada exceptions
This patch introduces two new GDB/MI commands implementing the equivalent
of the "catch exception" and  "catch assert" GDB/CLI commands.

gdb/ChangeLog:

        * breakpoint.h (init_ada_exception_breakpoint): Add parameter
        "enabled".
        * breakpoint.c (init_ada_exception_breakpoint): Add parameter
        "enabled".  Set B->ENABLE_STATE accordingly.
        * ada-lang.h (ada_exception_catchpoint_kind): Move here from
        ada-lang.c.
        (create_ada_exception_catchpoint): Add declaration.
        * ada-lang.c (ada_exception_catchpoint_kind): Move to ada-lang.h.
        (create_ada_exception_catchpoint): Make non-static. Add new
        parameter "disabled". Use it in call to
        init_ada_exception_breakpoint.
        (catch_ada_exception_command): Add parameter "enabled" in call
        to create_ada_exception_catchpoint.
        (catch_assert_command): Likewise.

        * mi/mi-cmds.h (mi_cmd_catch_assert, mi_cmd_catch_exception):
        Add declarations.
        * mi/mi-cmds.c (mi_cmds): Add the "catch-assert" and
        "catch-exception" commands.
        * mi/mi-cmd-catch.c: Add #include "ada-lang.h".
        (mi_cmd_catch_assert, mi_cmd_catch_exception): New functions.
2013-10-11 13:48:19 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c 2013-07-19 Hui Zhu <hui@codesourcery.com> 2013-07-19 07:26:46 +00:00
mi-cmd-break.h
mi-cmd-catch.c New GDB/MI commands to catch Ada exceptions 2013-10-11 13:48:19 +00:00
mi-cmd-disas.c
mi-cmd-env.c
mi-cmd-file.c
mi-cmd-info.c
mi-cmd-stack.c PR gdb/15911: "info threads" changes the default source and line (for "break", "list") 2013-09-17 18:26:41 +00:00
mi-cmd-target.c
mi-cmd-var.c gdb/ 2013-06-03 03:16:24 +00:00
mi-cmds.c New GDB/MI commands to catch Ada exceptions 2013-10-11 13:48:19 +00:00
mi-cmds.h New GDB/MI commands to catch Ada exceptions 2013-10-11 13:48:19 +00:00
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c Add mi_getopt_allow_unknown 2013-08-27 03:04:45 +00:00
mi-getopt.h Add mi_getopt_allow_unknown 2013-08-27 03:04:45 +00:00
mi-interp.c * aarch64-linux-nat.c: Replace PIDGET with ptid_get_pid. 2013-09-30 11:50:12 +00:00
mi-main.c Add support for --start option in -exec-run GDB/MI command. 2013-10-04 08:35:31 +00:00
mi-main.h
mi-out.c
mi-out.h
mi-parse.c add -Wold-style-declaration 2013-07-01 19:50:11 +00:00
mi-parse.h gdb/ 2013-06-03 03:16:24 +00:00
mi-symbol-cmds.c