public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/29635]  New: debug info of modules
Date: Sun, 29 Oct 2006 14:02:00 -0000	[thread overview]
Message-ID: <bug-29635-10259@http.gcc.gnu.org/bugzilla/> (raw)

$ cat a.f90 
module foo
  integer i
end module foo

use foo
print *, i
end
$ ifort -g -c a.f90 
$ readelf -wi a.o  
The section .debug_info contains:

  Compilation Unit @ offset 0x0:
   Length:        167
   Version:       2
   Abbrev Offset: 0
   Pointer Size:  4
 <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
     DW_AT_comp_dir    : /tmp
     DW_AT_language    : 14     (Fortran 95)
     DW_AT_name        : a.f90
     DW_AT_producer    : Intel (R) Fortran Compiler Fixes RangesRelative

     DW_AT_stmt_list   : 0
 <1><4d>: Abbrev Number: 2 (DW_TAG_module)
     DW_AT_decl_line   : 1
     DW_AT_decl_column : 7
     DW_AT_decl_file   : 1
     DW_AT_name        : FOO
 <2><55>: Abbrev Number: 3 (DW_TAG_variable)
     DW_AT_decl_line   : 2
     DW_AT_decl_column : 11
     DW_AT_decl_file   : 1
     DW_AT_accessibility: 1     (public)
     DW_AT_name        : i
     DW_AT_type        : <68>
     DW_AT_location    : 5 byte block: 3 0 0 0 0        (DW_OP_addr: 0)
     DW_AT_external    : 1
 <1><68>: Abbrev Number: 4 (DW_TAG_base_type)
     DW_AT_byte_size   : 4
     DW_AT_encoding    : 5      (signed)
     DW_AT_name        : INTEGER(4)
 <1><76>: Abbrev Number: 4 (DW_TAG_base_type)
     DW_AT_byte_size   : 0
     DW_AT_encoding    : 5      (signed)
     DW_AT_name        : void
 <1><7e>: Abbrev Number: 5 (DW_TAG_subprogram)
     DW_AT_decl_line   : 6
     DW_AT_decl_column : 1
     DW_AT_decl_file   : 1
     DW_AT_calling_convention: 2        (program)
     DW_AT_accessibility: 1     (public)
     DW_AT_name        : main$a_$BLK
     DW_AT_type        : <76>
     DW_AT_prototyped  : 0
     DW_AT_high_pc     : 0x6a
     DW_AT_low_pc      : 0x6
     DW_AT_external    : 1
 <2><9e>: Abbrev Number: 6 (DW_TAG_imported_declaration)
     DW_AT_decl_line   : 6
     DW_AT_decl_column : 1
     DW_AT_decl_file   : 1
     DW_AT_import      : <55>


-- 
           Summary: debug info of modules
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-debug
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
OtherBugsDependingO 24546
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29635


             reply	other threads:[~2006-10-29 14:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-29 14:02 fxcoudert at gcc dot gnu dot org [this message]
2006-10-29 14:04 ` [Bug fortran/29635] " steven at gcc dot gnu dot org
2007-01-02 14:35 ` fxcoudert at gcc dot gnu dot org
2007-01-02 15:27 ` stevenb dot gcc at gmail dot com
2007-08-11 22:09 ` dfranke at gcc dot gnu dot org
2007-08-12 10:36 ` stevenb dot gcc at gmail dot com
2008-08-15 18:30 ` jakub at gcc dot gnu dot org
2008-08-15 20:20 ` jakub at gcc dot gnu dot org
2008-08-18  8:13 ` jakub at gcc dot gnu dot org
2008-08-18  8:44 ` jakub at gcc dot gnu dot org
2008-08-18 12:40 ` drow at gcc dot gnu dot org
2008-08-29 18:43 ` jakub at gcc dot gnu dot org
2009-04-10 21:39 ` dfranke at gcc dot gnu dot org
2009-05-29  7:45 ` burnus at gcc dot gnu dot org
2009-05-29  8:52 ` jakub at gcc dot gnu dot org

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=bug-29635-10259@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).