2011-06-22 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Wed, 22 Jun 2011 17:16:42 +0000 (17:16 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 22 Jun 2011 17:16:42 +0000 (17:16 +0000)
commitc56053d23c108509c8978f31799e9abe654d91d5
tree31cdd182a347aa99141d9c5c457b01ed4d01f815
parentd2f3fc74b7bcb54623e8887c9c2015262f74f90b
2011-06-22  Pedro Alves  <pedro@codesourcery.com>

* breakpoint.c (init_raw_breakpoint_without_location): Don't add
the breakpoint to the breakpoint chain here.
(set_raw_breakpoint_without_location): Add the breakpoint to the
breakpoint chain here.
(init_raw_breakpoint): Adjust comments.
(set_raw_breakpoint): Add the breakpoint to the breakpoint chain
here.
(init_catchpoint): Don't set the catchpoint's breakpoint number
here.
(install_catchpoint): New function.
(create_fork_vfork_event_catchpoint)
(create_syscall_event_catchpoint, catch_exec_command_1): Adjust to
use install_catchpoint.
gdb/ChangeLog
gdb/breakpoint.c