gdb:
authorTom Tromey <tromey@redhat.com>
Sun, 17 Aug 2008 16:58:17 +0000 (16:58 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 17 Aug 2008 16:58:17 +0000 (16:58 +0000)
commit44feb3ce38dfc995ef492f2c319a6669efe39ff8
tree72f230883eb5ed9f39200764311a7d0ea42f0d87
parent5c1d2f5f4c7747c36eae8be3abd4ef4e9669690c
gdb:
PR gdb/1535:
* breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): New macros.
(ep_find_event_name_end): Remove.
(catch_fork_temporary, catch_vfork_temporary,
catch_fork_permanent, catch_vfork_permanent): New constants.
(catch_vfork, catch_fork): Remove.
(catch_fork_command_1): Add 'command' argument.  Remove
'fork_kind' and 'tempflag'.  Handle NULL 'arg'.  Update switch for
all cases.
(catch_exec_command_1): Add 'command' argument; remove
'tempflag'.  Handle NULL 'arg'.
(catch_load_command_1): Likewise.
(catch_unload_command_1): Likewise.
(catch_ada_exception_command): Likewise.
(catch_assert_command): Likewise.
(catch_catch_command): New function.
(catch_throw_command): Likewise.
(catch_command_1): Remove.
(catch_command): Just call error.
(tcatch_command): Likewise.
(catch_cmdlist): New global.
(tcatch_cmdlist): Likewise.
(add_catch_command): New function.
(_initialize_breakpoint): Create "catch" and "tcatch" as prefix
commands.  Create all catch sub-commands.
gdb/testsuite:
* gdb.base/help.exp (help catch): Rewrite.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/help.exp
This page took 0.025792 seconds and 4 git commands to generate.