use the SYMBOL_VALUE macro -- from Stu
This commit is contained in:
parent
c7da3ed3cd
commit
d41187efbc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user