From 3e00b79170aa5f641bb34b0e769c6c7485dab673 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Tue, 3 May 2005 09:13:17 +0000 Subject: [PATCH] Adjust for "ia64_rse" to "rse" prefix change. 2004/12/06 10:40:49-08:00 mostang.com!davidm (tdep_access_reg): Fix typo in code to read EH argument registers. (Logical change 1.290) --- src/ia64/Gregs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ia64/Gregs.c b/src/ia64/Gregs.c index 6de5ace3..b08529f6 100644 --- a/src/ia64/Gregs.c +++ b/src/ia64/Gregs.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2001-2004 Hewlett-Packard Co + Copyright (C) 2001-2005 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -417,7 +417,7 @@ tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, if (ret < 0) return ret; assert (!IA64_IS_REG_LOC (loc)); - mask = (unw_word_t) 1 << ia64_rse_slot_num (IA64_GET_ADDR (loc)); + mask = (unw_word_t) 1 << rse_slot_num (IA64_GET_ADDR (loc)); return update_nat (c, nat_loc, mask, valp, write); case UNW_IA64_AR_EC: @@ -494,7 +494,7 @@ tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, } else if ((c->eh_valid_mask & mask) != 0) { - *valp = c->eh_args[reg - (UNW_IA64_GR + 15)] = *valp; + *valp = c->eh_args[reg - (UNW_IA64_GR + 15)]; return 0; } else