use the SYMBOL_VALUE macro -- from Stu

This commit is contained in:
David D. Zuhn 1993-01-14 09:13:41 +00:00
parent c7da3ed3cd
commit d41187efbc
1 changed files with 1 additions and 1 deletions

View File

@ -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)