2009-05-14 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 14 May 2009 23:33:08 +0000 (23:33 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Thu, 14 May 2009 23:33:08 +0000 (23:33 +0000)
commite62c965a4f96c9dc7915c4ac0339beba0434ff88
tree9c6f7931674d2f6e1538814cc7d5ce5790bbe42b
parent508094de0161e10e83e5673c7ce17726a45e7ca1
2009-05-14  Paul Pluzhnikov  <ppluzhnikov@google.com>

* breakpoint.h: Add breakpoint_re_set_objfile prototype.
* breakpoint.c (create_overlay_event_breakpoint): Renamed
from create_overlay_event_breakpoint_1, old
create_overlay_event_breakpoint deleted.
(breakpoint_re_set_objfile): Don't rescan all objfiles
unnecessarily.
(breakpoint_re_set): New function.
* symfile.c (new_symfile_objfile): Call breakpoint_re_set_objfile
instead of breakpoint_re_set.
* objfiles.c (objfile_relocate): Likewise.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/objfiles.c
gdb/symfile.c