* breakpoint.c (init_raw_breakpoint): Call
authorYao Qi <yao@codesourcery.com>
Mon, 14 Nov 2011 03:01:01 +0000 (03:01 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 14 Nov 2011 03:01:01 +0000 (03:01 +0000)
commit3742cc8b4f7c8bd53a9ec513dd52189fb50c1b69
tree04b27ed6d54060fdd3601c4bcc0fe21a63400f52
parent8c19ceefadca03a06cbccd909b77c2b68ff47a9e
* breakpoint.c (init_raw_breakpoint): Call
add_location_to_breakpoint to replace duplicated code.
(add_location_to_breakpoint): Adjust the breakpoint's
address prior to allocating a location.
gdb/ChangeLog
gdb/breakpoint.c