1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 12:03:41 +01:00

(unwind_and_resume): Rename UNW_REG_EH_ARG0 to UNW_REG_EH+0 and UNW_REG_EH_ARG1 to

UNW_REG_EH+1.

(Logical change 1.59)
This commit is contained in:
mostang.com!davidm 2003-03-06 06:14:36 +00:00
parent 45ce48f2e4
commit 2853523b39

View file

@ -82,8 +82,8 @@ unwind_and_resume (long iteration, int (*next_func[])())
if (unw_get_reg (&c, UNW_REG_IP, &ip) < 0
|| unw_set_reg (&c, UNW_REG_IP, (unw_word_t) &resumption_point_label) < 0
|| unw_set_reg (&c, UNW_REG_EH_ARG0, 0) /* ret val */
|| unw_set_reg (&c, UNW_REG_EH_ARG1, ip))
|| unw_set_reg (&c, UNW_REG_EH + 0, 0) /* ret val */
|| unw_set_reg (&c, UNW_REG_EH + 1, ip))
panic ("failed to redirect to resumption_point\n");
if (verbose)