debugging - no symbol in current context for global variable -
i'm new gdb, , i'm stepping through function causing me trouble. i'm trying print value of global variable (which determines control flow) i'm getting no symbol in current context. don't know symbol defined, shouldn't present here?
the block i'm looking at:
if (present(weights)) numweights = size(weights,1) > if (numweights == nspecies) weightsfull = weights else weightsfull = weights(1) endif else weightsfull = 1.0 endif and i'm trying value of nspecies
is possible nspecies macro rather variable? if need compile program -g3 in order macro information included in binary.
Comments
Post a Comment