diff options
author | Fred Fish <fnf@specifix.com> | 1997-08-19 15:46:20 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1997-08-19 15:46:20 +0000 |
commit | ee804cff4fb70d2cc5921acad6f31dc04941f16e (patch) | |
tree | 2866eea998bac09f8545047371d2beac054a61c5 /gdb/objfiles.c | |
parent | c631cd59ddd00e76f99d41caf838b74e172dec2c (diff) | |
download | gdb-ee804cff4fb70d2cc5921acad6f31dc04941f16e.zip gdb-ee804cff4fb70d2cc5921acad6f31dc04941f16e.tar.gz gdb-ee804cff4fb70d2cc5921acad6f31dc04941f16e.tar.bz2 |
* 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
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 3 |
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 |