mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-06 14:47:32 +00:00
abipkgdiff --verbose shouldn't trigger --fail-no-dbg
--verbose was triggering --fail-no-dbg. This patch fixes that. * tools/abipkgdiff.cc (compare): In the overload for elf_files, separate the effect of --verbose from the one of --fail-no-dbg. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
6909dcb43c
commit
9c86797fec
@ -1266,7 +1266,7 @@ compare(const elf_file& elf1,
|
||||
bail_out = true;
|
||||
}
|
||||
|
||||
if (opts.fail_if_no_debug_info || opts.verbose)
|
||||
if (opts.fail_if_no_debug_info)
|
||||
{
|
||||
bool debug_info_error = false;
|
||||
if (c1_status & abigail::dwarf_reader::STATUS_DEBUG_INFO_NOT_FOUND)
|
||||
@ -1352,7 +1352,7 @@ compare(const elf_file& elf1,
|
||||
bail_out = true;
|
||||
}
|
||||
|
||||
if (opts.fail_if_no_debug_info || opts.verbose)
|
||||
if (opts.fail_if_no_debug_info)
|
||||
{
|
||||
bool debug_info_error = false;
|
||||
if (c2_status & abigail::dwarf_reader::STATUS_DEBUG_INFO_NOT_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user