This is the mail archive of the gdb@sources.redhat.com 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]

RE: gdb and Fortran90 arrays


On Fri, 1 Jul 2005, Parker James E Contr AFRL/HEDR wrote:

> Jack,
>   How do I use the offset and base information to determine what section of
> memory to look at?

The normal way for gdb to determine the memory address is to issue "p &x", 
but I doubt that if will work ok in this situation.  Anyway you could 
have a try.  And you also need to interpret the output yourself to 
Fortran's real type.  

- Wu Zhou


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