From 5de460718c037dfc92dfe78057e19e58e127ce26 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Fri, 27 Feb 2004 08:54:25 +0000 Subject: [PATCH] (remote_install_cursor): Pass NULL to third argument of tdep_uc_addr(). (Logical change 1.181) --- src/ia64/Gresume-ia64.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ia64/Gresume-ia64.c b/src/ia64/Gresume-ia64.c index f767275a..47825659 100644 --- a/src/ia64/Gresume-ia64.c +++ b/src/ia64/Gresume-ia64.c @@ -186,11 +186,12 @@ remote_install_cursor (struct cursor *c) memory, not registers. Furthermore, R4-R7 and NAT4-NAT7 are taken care of by ia64_local_resume() so they don't need to be handled here. */ -# define MEMIFY(preg, reg) \ - do { \ - if (IA64_IS_REG_LOC (c->loc[(preg)])) \ - c->loc[(preg)] = IA64_LOC_ADDR((unw_word_t) \ - tdep_uc_addr(c->as_arg, (reg)), 0); \ +# define MEMIFY(preg, reg) \ + do { \ + if (IA64_IS_REG_LOC (c->loc[(preg)])) \ + c->loc[(preg)] = IA64_LOC_ADDR ((unw_word_t) \ + tdep_uc_addr(c->as_arg, (reg), \ + NULL), 0); \ } while (0) MEMIFY (IA64_REG_PR, UNW_IA64_PR); MEMIFY (IA64_REG_PFS, UNW_IA64_AR_PFS);