Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Mathew Yeates <mat.yeates@gmail.com>
Cc: Tom Tromey <tromey@redhat.com>, gdb@sourceware.org
Subject: Re: fortran multidimensional arrays and pointers
Date: Mon, 07 Feb 2011 19:38:00 -0000	[thread overview]
Message-ID: <20110207193807.GA20569@host1.dyn.jankratochvil.net> (raw)
In-Reply-To: <AANLkTikV=HK5N2wekQ9ufGHKXry=c52pe-q_BSkf0cdB@mail.gmail.com>

On Mon, 07 Feb 2011 19:48:02 +0100, Mathew Yeates wrote:
> >print some_ints(1)
> 0
> >print some_ints(2)
> -1

6	      write(*,*) some_ints(1)
(gdb) p some_ints(1)
$1 = 1
(gdb) p some_ints(2)
$2 = 2

It works on both:
	http://sourceware.org/gdb/wiki/ArcherBranchManagement
	-> archer-jankratochvil-vla
and
	gdb-7.2-36.fc14 (Fedora 14)

That this archer branch is not yet merged in FSF GDB is another issue.


Regards,
Jan


  reply	other threads:[~2011-02-07 19:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 20:35 Mathew Yeates
2011-02-07 16:23 ` Tom Tromey
2011-02-07 18:48   ` Mathew Yeates
2011-02-07 19:38     ` Jan Kratochvil [this message]
2011-02-24 19:33       ` Mathew Yeates
2011-03-02 15:57         ` Jan Kratochvil
2011-03-03 17:24           ` Tom Tromey
2011-03-03 17:43             ` Jan Kratochvil

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=20110207193807.GA20569@host1.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=mat.yeates@gmail.com \
    --cc=tromey@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