From: Wu Zhou <woodzltc@cn.ibm.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] Add code to support evaluating Fortran exponentiation expression
Date: Tue, 21 Jun 2005 14:32:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.63.0506210423420.5446@wks190384wss.cn.ibm.com> (raw)
In-Reply-To: <uk6kozt96.fsf@gnu.org>
On Mon, 20 Jun 2005, Eli Zaretskii wrote:
> By all means, please add anything you think might be of use to GDB
> users who debug Fortran programs.
Eli,
It might be desirable to add the following text:
GDB support Fortran language, but mainly support output from the GNU Fortran
compiler(maybe more specifically GNU F77 compiler here?). It also has the
following limitation:
1. You need to use "break MAIN__" to make the Fortran program to stop at the
begining of the execution. To set breakpoint at a subroutine or function
named "sub", you need to add a trailing underscore, to say "break sub_".
2. GDB can't handle the evaluation of exponentiation expression yet.
3. Current GDB can't handle the evaluation of substring expression.
(There are some code intended to handle this, but it doesn't work with
g77-3.2.3, g77-3.3.3 and g77-3.4.3. I will code a testcase to show this
later. Not sure how to fix this yet.)
4. GDB can't handle the evaluation of Fortran intrinsic functions, such as
"mod", "abs" and so on.
5. GDB can't handle some Fortran-90 or Fortran-95 extension, such as the
self-defined data type, such as the array addition operation, array
substraction operation...
Maybe there are still others. There isn't much compilable Fortran
testcases in current testsuite. So it is hard to say what works and what
not.
BTW, I am thinking of doing something to enhance GDB's support of Fortran
language (not only f77, but also f95 or some other fortran compiler). Do
you have any suggestion on this? Thanks!
Cheers
- Wu Zhou
next prev parent reply other threads:[~2005-06-21 14:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-17 7:36 Wu Zhou
2005-06-17 10:17 ` Eli Zaretskii
2005-06-20 3:47 ` Wu Zhou
2005-06-20 19:08 ` Eli Zaretskii
2005-06-21 14:32 ` Wu Zhou [this message]
2005-06-21 19:41 ` Eli Zaretskii
2005-06-17 13:41 ` Daniel Jacobowitz
2005-06-20 4:00 ` Wu Zhou
2005-07-03 17:07 ` Daniel Jacobowitz
2005-07-06 8:55 ` Wu Zhou
2005-06-20 4:14 ` Wu Zhou
2005-07-03 17:05 ` Daniel Jacobowitz
2005-07-06 8:36 ` 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=Pine.LNX.4.63.0506210423420.5446@wks190384wss.cn.ibm.com \
--to=woodzltc@cn.ibm.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sources.redhat.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