gdb and Fortran90 arrays

Wu Zhou woodzltc@cn.ibm.com
Wed Jul 6 10:00:00 GMT 2005


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



More information about the Gdb mailing list