This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb and Fortran90 arrays
- From: Daniel Jacobowitz <drow at false dot org>
- To: Parker James E Contr AFRL/HEDR <James dot Parker dot ctr at brooks dot af dot mil>
- Cc: "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Fri, 1 Jul 2005 17:11:15 -0400
- Subject: Re: gdb and Fortran90 arrays
- References: <6AC29D5306A1CD4AB6A168570B1176A40797B2E9@casino.brooks.af.mil>
On Fri, Jul 01, 2005 at 04:09:04PM -0500, Parker James E Contr AFRL/HEDR wrote:
> I was wondering if anyone could help me decipher the output from gdb when
> debugging Fortran90 code. Since gdb doesn't currently support Fortran90, it
> defaults to a language format called "minimal", which is fine for most uses,
> but for arrays the output is cryptic for me.
Have you tried using CVS, and explicitly setting the language to
fortran?
> And you get a list that contains an offset, ecode, base and info. Can
> anyone tell me what these things are? Ecode seems to represent the size of
> each element in the array, but that's just a guess. The rest is some sort
> of memory pointer, but I can't decipher it.
Probably depends on your compiler; you didn't say which? They may be
able to tell you more.
--
Daniel Jacobowitz
CodeSourcery, LLC