From: David D. Zuhn Date: Thu, 14 Jan 1993 09:13:41 +0000 (+0000) Subject: use the SYMBOL_VALUE macro -- from Stu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d41187efbcc247fde53f82721c986b0121c635d7;p=binutils-gdb.git use the SYMBOL_VALUE macro -- from Stu --- diff --git a/gdb/nindy-tdep.c b/gdb/nindy-tdep.c index e2f46aa100d..b296e069119 100644 --- a/gdb/nindy-tdep.c +++ b/gdb/nindy-tdep.c @@ -61,7 +61,7 @@ nindy_frame_chain_valid (chain, curframe) sym = lookup_symbol(sf, 0, VAR_NAMESPACE, (int *)NULL, (struct symtab **)NULL); if ( sym != 0 ){ - a = sym->value.value; + a = SYMBOL_VALUE (sym); } else { msymbol = lookup_minimal_symbol (sf, (struct objfile *) NULL); if (msymbol == NULL)