aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-05-14 23:33:08 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-05-14 23:33:08 +0000
commite62c965a4f96c9dc7915c4ac0339beba0434ff88 (patch)
tree9c6f7931674d2f6e1538814cc7d5ce5790bbe42b /gdb/objfiles.c
parent508094de0161e10e83e5673c7ce17726a45e7ca1 (diff)
downloadgdb-e62c965a4f96c9dc7915c4ac0339beba0434ff88.zip
gdb-e62c965a4f96c9dc7915c4ac0339beba0434ff88.tar.gz
gdb-e62c965a4f96c9dc7915c4ac0339beba0434ff88.tar.bz2
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.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 795d53b..30a4313 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -674,7 +674,7 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
}
/* Relocate breakpoints as necessary, after things are relocated. */
- breakpoint_re_set ();
+ breakpoint_re_set_objfile (objfile);
}
/* Many places in gdb want to test just to see if we have any partial