aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-03-13 20:56:25 +1030
committerAlan Modra <amodra@gmail.com>2017-03-13 21:20:02 +1030
commit5ef2d51bd6ae49b28282835156d1d6622beac4a6 (patch)
tree5ea12d7c51f205c0d84f0790e8e8e1df86809c01 /libiberty
parentf955cccff399ccc4e16b8e90f140f2e9a785a07b (diff)
downloadgdb-5ef2d51bd6ae49b28282835156d1d6622beac4a6.zip
gdb-5ef2d51bd6ae49b28282835156d1d6622beac4a6.tar.gz
gdb-5ef2d51bd6ae49b28282835156d1d6622beac4a6.tar.bz2
objdump -dS: warn if source is more recent than object
If the source file is more recent than the object file, line number information in the object may no longer match the source. So print a warning message. * objdump.c (update_source_path): Add abfd param. Add struct stat vars. Pass to try_print_file_open. Warn if source is more recent than object. (try_print_file_open, slurp_file): Add struct stat param to return fstat. (show_line): Call update_source_path with bfd.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions