This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Where symbol is store?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]