From e62c965a4f96c9dc7915c4ac0339beba0434ff88 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Thu, 14 May 2009 23:33:08 +0000 Subject: 2009-05-14 Paul Pluzhnikov * 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/symfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/symfile.c') diff --git a/gdb/symfile.c b/gdb/symfile.c index 527b0d5..774101d 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. */ -- cgit v1.1