use the SYMBOL_VALUE macro -- from Stu
authorDavid D. Zuhn <zoo@cygnus>
Thu, 14 Jan 1993 09:13:41 +0000 (09:13 +0000)
committerDavid D. Zuhn <zoo@cygnus>
Thu, 14 Jan 1993 09:13:41 +0000 (09:13 +0000)
gdb/nindy-tdep.c

index e2f46aa100d4a99c8aa54afb1db6a08f53b514e4..b296e069119f5f81d86942413e01d7f0f8267a68 100644 (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)
This page took 0.025154 seconds and 4 git commands to generate.