public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
From: xunxun <xunxun1982@gmail.com>
To: archer@sourceware.org
Subject: archergdb can't use output command to print Fortran allocatable arrays
Date: Wed, 23 Nov 2011 07:34:00 -0000	[thread overview]
Message-ID: <CA+BR0wyo4hey+pUU9eEDozztBD4=qmhF5VofMyFX0vUahshUmQ@mail.gmail.com> (raw)

Hi, all

  When I use archergdb brach archer-jankratochvil-vl to print Fortran
allocatable arrays, I found
that I can't use the output command:

 for example,

 program main
  implicit none

  integer :: aaa=1
  real(8) :: bbb=3.d0
  real(8), allocatable :: ccc(:,:)
  allocate(ccc(4,5))
  ccc=3.4
  write(*,*) "Hello World!"
  deallocate(ccc)
  stop
 end program main

 break after ccc=3.4

 run

 If I type

 1) p ccc
    $3 = (( 3.4000000953674316, 3.4000000953674316,
3.4000000953674316, 3.4000000953674316) ( 3.4000000953674316,
3.4000000953674316, 3.4000000953674316, 3.4000000953674316) (
3.4000000953674316, 3.4000000953674316, 3.4000000953674316,
3.4000000953674316) ( 3.4000000953674316, 3.4000000953674316,
3.4000000953674316, 3.4000000953674316) ( 3.4000000953674316,
3.4000000953674316, 3.4000000953674316, 3.4000000953674316) )

 2) pt ccc
   type = real(kind=8) (4,5)

 3) whatis ccc
   type = real(kind=8) (4,5)

 4) output ccc
   Cannot resolve DW_OP_push_object_address for a missing object

 It's obviours wrong when using the output command.

 Can this issure be fixed?

 Thanks.

-- 
Best Regards,
xunxun

             reply	other threads:[~2011-11-23  7:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23  7:34 xunxun [this message]
2011-11-23 13:37 ` Jan Kratochvil
2011-11-27 20:34 ` Jan Kratochvil
2011-11-29 10:08   ` xunxun

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='CA+BR0wyo4hey+pUU9eEDozztBD4=qmhF5VofMyFX0vUahshUmQ@mail.gmail.com' \
    --to=xunxun1982@gmail.com \
    --cc=archer@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).