aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2014-06-02 11:35:22 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2014-06-06 09:40:02 +0200
commitc33b2f12584e8ae5be0e7a54927194d6b5851623 (patch)
treedeb833c67b35e54cd9b0dac52132b84be1ea86d0 /ld
parent34fd659b79bed7333311a092e18f990e3bd31b2f (diff)
downloadgdb-c33b2f12584e8ae5be0e7a54927194d6b5851623.zip
gdb-c33b2f12584e8ae5be0e7a54927194d6b5851623.tar.gz
gdb-c33b2f12584e8ae5be0e7a54927194d6b5851623.tar.bz2
symfile, vdso: remove target sections
Target sections added by the add-symbol-file-from-memory command are not removed when the process exits. In fact, they are not removed, at all. This causes GDB to crash in gdb.base/break-interp.exp. Change the owner of those target sections to the object file generated in symbol_file_add_from_memory and generalize the free_objfile observer in symfile.c to remove target sections of any freed object file.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions