]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Warn for missing separate debug files only if needed
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 1 Mar 2021 13:34:34 +0000 (05:34 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 1 Mar 2021 13:34:47 +0000 (05:34 -0800)
commitecd65684f542be614adc56321c118d8985d35409
treef1dbd3ff9c0df14b52d30372dc3cc54f0a07b186
parent8ee10e86093150c70360d9e26b29e6d9b6398f33
Warn for missing separate debug files only if needed

We shouldn't warn missing separate debug files when debug info isn't
needed.

PR binutils/27486
* dwarf.c (load_separate_debug_info): Issue warning only if
do_debug_links is set.
* testsuite/binutils-all/compress.exp: Run objdump and readelf
with missing debug file.
binutils/ChangeLog
binutils/dwarf.c
binutils/testsuite/binutils-all/compress.exp