* unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
regno instead of index to DWARF_ZERO_REG.
From-SVN: r269021
+2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
+
+ * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
+ regno instead of index to DWARF_ZERO_REG.
+
2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
* config/visium/lib2funcs.c (__set_trampoline_parity): Replace
_Unwind_Context_Reg_Val val;
#ifdef DWARF_ZERO_REG
- if (index == DWARF_ZERO_REG)
+ if (regno == DWARF_ZERO_REG)
return 0;
#endif