We want to check whether the bias is zero, not whether we have dwarf
debug_frame cfi.
This triggered on a ppc64/ppc64le self-check since it has both
debug_frame and eh_frame cfi (other arches often only have eh_frame).
Signed-off-by: Mark Wielaard <mark@klomp.org>
+2017-11-16 Mark Wielaard <mark@klomp.org>
+
+ * varlocs.c (main): Fix cfi_debug => cfi_debug_bias typo in assert.
+
2017-11-10 Mark Wielaard <mark@klomp.org>
* run-exprlocs-self.sh: New test.
cfi_debug = dwfl_module_dwarf_cfi (mod, &cfi_debug_bias);
cfi_eh = dwfl_module_eh_cfi (mod, &cfi_eh_bias);
- assert (cfi_debug == 0); // No bias needed, same file.
+ assert (cfi_debug_bias == 0); // No bias needed, same file.
// We are a bit forgiving for object files. There might be
// relocations we don't handle that are needed in some