Now that the status is a bit field, one needs to check the OK bit in
the status for successful operation state. Oops.
* tools/abidw.cc (main): Fix successful status checking.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
abigail::dwarf_reader::status status =
abigail::dwarf_reader::has_alt_debug_info(ctxt,
has_alt_di, alt_di_path);
- if (status == abigail::dwarf_reader::STATUS_OK)
+ if (status & abigail::dwarf_reader::STATUS_OK)
{
if (alt_di_path.empty())
;