Where symbol is store?

[email protected]
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Question:
Where in GDB we get symbol itself?

I try to dig into it and I found it coud heppen in:
eval.c:1290
     in evaluate_subexp_standard()
     by symbol *var = exp->elts[pc + 2].symbol;
but it has no sens to me because in
expression.h:84
     in struct expression
     union exp_element elts[1];
is well 1 element union and it feel like access to unknown part of memory.

It's moment in this code where i get lost.

Motivation:
I want to get raw symbol to figure out is all field about FORTRAN array is
set in right way, and how they are set.


~wytrzeszcz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.