OSDN Git Service

2011-06-22 Pedro Alves <pedro@codesourcery.com>
authorpalves <palves>
Wed, 22 Jun 2011 17:16:41 +0000 (17:16 +0000)
committerpalves <palves>
Wed, 22 Jun 2011 17:16:41 +0000 (17:16 +0000)
commit79e3115401e9e4657f216b50637ea779849297fc
tree6f756fdb71e5f07a7af7027ed7bc0da49a63adb9
parent6fc5a9e21b369170a71f81180dfa7302b8fb11ba
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