mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
* objfiles.c (objfile_relocate): Add call to breakpoint_re_set
after relocations are complete. * remote-vx.c (vx_add_symbols): Remove call to breakpoint_re_set, this is now done in objfile_relocate. PR 11308
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user