public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* archergdb can't use output command to print Fortran allocatable arrays
@ 2011-11-23  6:36 xunxun
  2011-11-23  7:09 ` Yao Qi
  0 siblings, 1 reply; 2+ messages in thread
From: xunxun @ 2011-11-23  6:36 UTC (permalink / raw)
  To: gdb

Hi, all

   I don't know what email list can be written about the archergdb
brach archer-jankratochvil-vl, so I email to gdb directly.

   When I use archergdb 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: archergdb can't use output command to print Fortran allocatable arrays
  2011-11-23  6:36 archergdb can't use output command to print Fortran allocatable arrays xunxun
@ 2011-11-23  7:09 ` Yao Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Yao Qi @ 2011-11-23  7:09 UTC (permalink / raw)
  To: gdb

On 11/23/2011 02:35 PM, xunxun wrote:
> 
>    I don't know what email list can be written about the archergdb
> brach archer-jankratochvil-vl, so I email to gdb directly.

archer has its own mailing list archer@sourceware.org

You can get more on archer here http://sourceware.org/gdb/wiki/ProjectArcher

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-23  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-23  6:36 archergdb can't use output command to print Fortran allocatable arrays xunxun
2011-11-23  7:09 ` Yao Qi

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).