summaryrefslogtreecommitdiff
path: root/gdb/nindy-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nindy-tdep.c')
-rw-r--r--gdb/nindy-tdep.c2
1 files changed, 1 insertions, 1 deletions
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)