aboutsummaryrefslogtreecommitdiff
path: root/sim/cris
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-12-14 11:42:00 +1030
committerAlan Modra <amodra@gmail.com>2022-12-14 13:07:43 +1030
commitbd5efa59305b4f84da4d7ece171acf37ee2c99a4 (patch)
treed0f9b92f5ef1ae3187c76b252448856aafc25f43 /sim/cris
parenta4b83845ded201e7d46220213d3e38950c30dbb5 (diff)
downloadgdb-bd5efa59305b4f84da4d7ece171acf37ee2c99a4.zip
gdb-bd5efa59305b4f84da4d7ece171acf37ee2c99a4.tar.gz
gdb-bd5efa59305b4f84da4d7ece171acf37ee2c99a4.tar.bz2
Don't access freed memory printing objcopy warning
abfd->filename will be freed if bfd_close gets far enough to delete the bfd. It's possible to have an error from fclose at this point. * objcopy.c (copy_archive): Dup filename before closing bfd for potential use in bfd_nonfatal_message.
Diffstat (limited to 'sim/cris')
0 files changed, 0 insertions, 0 deletions