2011-06-22 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Wed, 22 Jun 2011 17:11:30 +0000 (17:11 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 22 Jun 2011 17:11:30 +0000 (17:11 +0000)
commit346774a91ffaa367db6982f19cc9b5bcafaa3686
treea3172632d335fefc92dca0413f859266cf3d9ccb
parente366eeae1287622a7ed40c75ec1e7980cc5f71ac
2011-06-22  Pedro Alves  <pedro@codesourcery.com>

* breakpoint.c (add_to_breakpoint_chain)
(init_raw_breakpoint_without_location): New functions, factored
out from ...
(set_raw_breakpoint_without_location): ... this one.
(init_raw_breakpoint): New function, factored out from
set_raw_breakpoint and adjusted to use
init_raw_breakpoint_without_location.
(set_raw_breakpoint): Adjust.
(init_catchpoint): New function, factored out from
create_catchpoint_without_mention and adjusted to use
init_raw_breakpoint.
(create_catchpoint_without_mention): Adjust.
gdb/ChangeLog
gdb/breakpoint.c