aboutsummaryrefslogtreecommitdiff
path: root/gdb/nindy-tdep.c
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-01-14 09:13:41 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-01-14 09:13:41 +0000
commitd41187efbcc247fde53f82721c986b0121c635d7 (patch)
tree4f4b2b6f0cdedf4746e8015cc6b7478fdfb6c0c4 /gdb/nindy-tdep.c
parentc7da3ed3cd1cf1168a969567f4b0741718fe61f3 (diff)
downloadgdb-d41187efbcc247fde53f82721c986b0121c635d7.zip
gdb-d41187efbcc247fde53f82721c986b0121c635d7.tar.gz
gdb-d41187efbcc247fde53f82721c986b0121c635d7.tar.bz2
use the SYMBOL_VALUE macro -- from Stu
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 e2f46aa..b296e06 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)