Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Steven Bosscher" <stevenb.gcc@gmail.com>
To: "Robert Dewar" <dewar@adacore.com>
Cc: gdb@sourceware.org, abo <lilyphysik@163.com>
Subject: Re: How to debug fortran program?
Date: Fri, 05 Jan 2007 05:10:00 -0000	[thread overview]
Message-ID: <571f6b510701042110i47cf7b84uee3f26f86a583dca@mail.gmail.com> (raw)
In-Reply-To: <459D8A82.6050807@adacore.com>

On 1/5/07, Robert Dewar <dewar@adacore.com> wrote:
> Steven Bosscher wrote:
>
> > Also, even if g95 would write out useful debug information, gdb would
> > not have support for most Fortran 9x features (e.g. no support for
> > modules, no support for array expressions, etc.).
>
> Not so clear, a lot can be done in dwarf-2, of course being able to
> type in Fortran expressions would require extra support.

Most Fortran 90 features require dwarf-3.  You can do almost nothing
with types for Fortran arrays that need array descriptors.  For
modules, renaming of imported symbols is also not in dwarf-2 afaik.

But it really doesn't matter if the compiler does not produce this
debug information to begin with.

Gr.
Steven


      reply	other threads:[~2007-01-05  5:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-04  8:26 abo
2007-01-04 14:26 ` Jim Blandy
2007-01-04 22:02 ` Steven Bosscher
2007-01-04 23:15   ` Robert Dewar
2007-01-05  5:10     ` Steven Bosscher [this message]

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=571f6b510701042110i47cf7b84uee3f26f86a583dca@mail.gmail.com \
    --to=stevenb.gcc@gmail.com \
    --cc=dewar@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=lilyphysik@163.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