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:
parent
45ce48f2e4
commit
2853523b39
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue