This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog breakpoint.c testsuite/Chang ...
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 17 Aug 2008 16:58:17 -0000
- Subject: src/gdb ChangeLog breakpoint.c testsuite/Chang ...
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2008-08-17 16:58:17
Modified files:
gdb : ChangeLog breakpoint.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: help.exp
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.9656&r2=1.9657
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.342&r2=1.343
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1701&r2=1.1702
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/help.exp.diff?cvsroot=src&r1=1.29&r2=1.30