From: Joachim Protze <joachim.protze@tu-dresden.de>
To: gdb@sourceware.org
Subject: Re: cannot print allocatable arrays
Date: Fri, 23 Sep 2011 15:32:00 -0000 [thread overview]
Message-ID: <4E7CA694.7010701@tu-dresden.de> (raw)
In-Reply-To: <20110923144610.10149.52279.XPN@L622243018051.user.x-privat.org>
On 23.09.2011 16:46, Lurkos wrote:
> I'm using gdb 7.0.1-debian and gfortran 4.4.5 on Debian squeeze amd64.
>
> I'm not able to print arrays that are declared as allocatable.
> It seems that gdb is not able to detect the correct size of the array
> allocated run-time.
> Is there a different way to print the values in this case?
>
> Thank you.
For debugging fortran90 code you may want to use a patched version of
gdb as recommended in
http://sourceware.org/bugzilla/show_bug.cgi?id=9395#c1
- Joachim
prev parent reply other threads:[~2011-09-23 15:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-23 15:20 Lurkos
2011-09-23 15:26 ` Jan Kratochvil
2011-10-04 19:00 ` Lurkos
2011-10-04 23:46 ` Lurkos
2011-09-23 15:32 ` Joachim Protze [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=4E7CA694.7010701@tu-dresden.de \
--to=joachim.protze@tu-dresden.de \
--cc=gdb@sourceware.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