diff options
author | Alan Modra <amodra@gmail.com> | 2017-03-13 20:56:25 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-03-13 21:20:02 +1030 |
commit | 5ef2d51bd6ae49b28282835156d1d6622beac4a6 (patch) | |
tree | 5ea12d7c51f205c0d84f0790e8e8e1df86809c01 /libiberty/obstacks.texi | |
parent | f955cccff399ccc4e16b8e90f140f2e9a785a07b (diff) | |
download | gdb-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/obstacks.texi')
0 files changed, 0 insertions, 0 deletions