aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index c4cb02e..f24bf59 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -650,6 +650,9 @@ objfile_relocate (objfile, new_offsets)
objfile->ei.main_func_lowpc += ANOFFSET (delta, SECT_OFF_TEXT);
objfile->ei.main_func_highpc += ANOFFSET (delta, SECT_OFF_TEXT);
}
+
+ /* Relocate breakpoints as necessary, after things are relocated. */
+ breakpoint_re_set ();
}
/* Many places in gdb want to test just to see if we have any partial