Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mathew Yeates <mat.yeates@gmail.com>
To: gdb@sourceware.org
Subject: seriously broken fortran multi-dimensional arrays
Date: Fri, 17 Sep 2010 00:12:00 -0000	[thread overview]
Message-ID: <AANLkTi=fH-0ont=xi=j3f9=PxsW5BMRktkNDWqn_wt+N@mail.gmail.com> (raw)

At a place in my code I do
(gdb) p Tau_mask(itau,imix)
$9 = .TRUE.

but if I print the value at the address corresponding to this I get
x/d 0x2850a40 + 4*(15*74 + 35)
0x2851c24:      0

.FALSE. is the correct value but .TRUE. gets printed.


             reply	other threads:[~2010-09-17  0:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-17  0:12 Mathew Yeates [this message]
2010-09-17  0:13 ` Michael Snyder

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='AANLkTi=fH-0ont=xi=j3f9=PxsW5BMRktkNDWqn_wt+N@mail.gmail.com' \
    --to=mat.yeates@gmail.com \
    --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