From: Daniel Berlin <dberlin@dberlin.org>
To: Wu Zhou <woodzltc@cn.ibm.com>
Cc: Parker James E Contr AFRL/HEDR <James.Parker.ctr@brooks.af.mil>,
"'gdb@sources.redhat.com'" <gdb@sources.redhat.com>
Subject: RE: gdb and Fortran90 arrays
Date: Sat, 09 Jul 2005 18:18:00 -0000 [thread overview]
Message-ID: <1120933121.7757.28.camel@linux.site> (raw)
In-Reply-To: <Pine.LNX.4.63.0507080055240.25810@wks190384wss.cn.ibm.com>
On Fri, 2005-07-08 at 01:02 +0800, Wu Zhou wrote:
> Hi Parker,
>
> I had a fast look at you dwarf output. It doesn't conform to the DWARF
> standard, (which is the most commonly used debugging standard in the Linux
> world.) especially in the debuginfo on the array "guess" and "z". So it
> might better to post your question to g95 mail-list for a solution.
> However I will take some more time to see why GDB didn't think your code
> are written in fortran. Maybe it is related the following text:
>
> <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
> DW_AT_stmt_list : 0
> DW_AT_high_pc : 0x80494ec
> DW_AT_low_pc : 0x8049440
> DW_AT_producer : G95 Fortran 95 4.0.0 20050129 (experimental) (g95!)
>
> I need to see how GDB guess the language of the binary.
It should use DW_AT_language.
If you look, his binary claims it is ANSI C.
<0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
> DW_AT_stmt_list : 0
> DW_AT_high_pc : 0x80494ec
> DW_AT_low_pc : 0x8049440
> DW_AT_producer : G95 Fortran 95 4.0.0 20050129 (experimental)
(g95!)
> Apr 4 2005
> DW_AT_language : 1 (ANSI C)
> DW_AT_name : gdbDriver.f90
> DW_AT_comp_dir : /home/surfer/downloads/2ndharm-2.0/src
next prev parent reply other threads:[~2005-07-09 18:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-07 0:04 Parker James E Contr AFRL/HEDR
2005-07-09 3:29 ` Wu Zhou
2005-07-09 18:18 ` Daniel Berlin [this message]
2005-07-11 1:24 ` Wu Zhou
-- strict thread matches above, loose matches on Subject: below --
2005-07-01 21:31 Parker James E Contr AFRL/HEDR
2005-07-06 10:00 ` Wu Zhou
2005-07-01 21:29 Parker James E Contr AFRL/HEDR
2005-07-01 21:39 ` 'Daniel Jacobowitz'
2005-07-01 21:09 Parker James E Contr AFRL/HEDR
2005-07-01 21:11 ` Daniel Jacobowitz
2005-07-06 9:38 ` Wu Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1120933121.7757.28.camel@linux.site \
--to=dberlin@dberlin.org \
--cc=James.Parker.ctr@brooks.af.mil \
--cc=gdb@sources.redhat.com \
--cc=woodzltc@cn.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox