From c2262737f7313096b2aaa1ebbd3c7ae062005ba2 Mon Sep 17 00:00:00 2001 From: "model.com!marky" Date: Thu, 14 Nov 2002 19:12:58 +0000 Subject: [PATCH] Fix typo in ia64_put() (Logical change 1.24) --- src/ia64/unwind_i.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ia64/unwind_i.h b/src/ia64/unwind_i.h index 51369c97..8dac08ae 100644 --- a/src/ia64/unwind_i.h +++ b/src/ia64/unwind_i.h @@ -315,8 +315,8 @@ ia64_put (struct ia64_cursor *c, unw_word_t loc, unw_word_t val) return ia64_putfp (c, loc, tmp); } - if (loc & 1) - return (*c->acc.access_reg)(loc >> 1, &val, 1, c->acc.arg); + if (IA64_IS_REG_LOC (loc)) + return (*c->acc.access_reg)(IA64_GET_LOC (loc), &val, 1, c->acc.arg); else return (*c->acc.access_mem)(loc, &val, 1, c->acc.arg); }