summaryrefslogtreecommitdiff
path: root/gdb/symfile.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
commitd6520a5f3d76b1f6026ff0af509575dcb8f9ffcb (patch)
treef93b51f9def237992da827d2303f829afe1f4ccf /gdb/symfile.c
parente3a59b3be55ae16e4f8f813612c47440dd1cef95 (diff)
downloadgdb-d6520a5f3d76b1f6026ff0af509575dcb8f9ffcb.tar.gz
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/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 527b0d57398..774101d3a8b 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -923,7 +923,7 @@ new_symfile_objfile (struct objfile *objfile, int mainline, int verbo)
}
else
{
- breakpoint_re_set ();
+ breakpoint_re_set_objfile (objfile);
}
/* We're done reading the symbol file; finish off complaints. */