1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-25 02:41:45 +02:00

Correct the inverted check

Typo when manually applying the previous commit.
This commit is contained in:
Arun Sharma 2011-12-02 08:34:19 -08:00
parent 2f328202ee
commit cf2f3d3b75

View file

@ -81,7 +81,7 @@ tdep_stash_frame (struct dwarf_cursor *d, struct dwarf_reg_state *rs)
their ucontext_t offsets. Confirm DWARF info agrees with the
offsets we expect. */
#ifdef NDEBUG
#ifndef NDEBUG
const unw_word_t uc = c->sigcontext_addr;
assert (DWARF_GET_LOC(d->loc[RIP]) - uc == UC_MCONTEXT_GREGS_RIP);