old-cross-binutils/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 Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
mi-cmd-catch.c New GDB/MI commands to catch Ada exceptions 2013-10-11 13:48:19 +00:00
mi-cmd-disas.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
mi-cmd-env.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
mi-cmd-file.c gdb/ 2013-02-03 16:13:31 +00:00
mi-cmd-info.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
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 Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
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 Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
mi-common.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
mi-console.c Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
mi-console.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
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 Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
mi-out.c Add support for a destructor for ui_out data and use it to 2013-02-12 01:47:49 +00:00
mi-out.h Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
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 Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00