Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Steven Bosscher <stevenb.gcc@gmail.com>
To: gdb@sourceware.org
Cc: abo <lilyphysik@163.com>
Subject: Re: How to debug fortran program?
Date: Thu, 04 Jan 2007 22:02:00 -0000	[thread overview]
Message-ID: <200701042305.06320.steven.bosscher@gmail.com> (raw)
In-Reply-To: <459CBA43.10503@163.com>

On Thursday 04 January 2007 09:26, abo wrote:
> Hello members,
> I compile f90 source program by g95,but I can't debug it with gdb.
> Is there anyone who had the same experiences?

Yup.

g95 does not write out useful debug information.  So, you can't debug
your program with gdb or with any other symbolic debugger.

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.).

Sorry....

Gr.
Steven


  parent reply	other threads:[~2007-01-04 22:02 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 [this message]
2007-01-04 23:15   ` Robert Dewar
2007-01-05  5:10     ` Steven Bosscher

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=200701042305.06320.steven.bosscher@gmail.com \
    --to=stevenb.gcc@gmail.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