This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: gdb and Fortran90 arrays
- From: Wu Zhou <woodzltc at cn dot ibm dot com>
- To: Parker James E Contr AFRL/HEDR <James dot Parker dot ctr at brooks dot af dot mil>
- Cc: "'Bloch, Jack'" <jack dot bloch at siemens dot com>, "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Wed, 6 Jul 2005 16:29:11 +0800 (CST)
- Subject: RE: gdb and Fortran90 arrays
- References: <6AC29D5306A1CD4AB6A168570B1176A40797B313@casino.brooks.af.mil>
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