aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormostang.com!davidm <mostang.com!davidm>2003-03-06 06:14:36 +0000
committermostang.com!davidm <mostang.com!davidm>2003-03-06 06:14:36 +0000
commit2853523b39a17e06ea08426606449058fb745e93 (patch)
tree398e7b9c6477a91b873c0eb75abbf1058b1542cd
parent45ce48f2e45200302e119997be0169d23e48ae08 (diff)
downloadlibunwind-2853523b39a17e06ea08426606449058fb745e93.tar.gz
(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)
-rw-r--r--tests/Gia64-test-rbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Gia64-test-rbs.c b/tests/Gia64-test-rbs.c
index f669d093..e19708f4 100644
--- a/tests/Gia64-test-rbs.c
+++ b/tests/Gia64-test-rbs.c
@@ -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)