public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
* archergdb can't use output command to print Fortran allocatable arrays
@ 2011-11-23  7:34 xunxun
  2011-11-23 13:37 ` Jan Kratochvil
  2011-11-27 20:34 ` Jan Kratochvil
  0 siblings, 2 replies; 4+ messages in thread
From: xunxun @ 2011-11-23  7:34 UTC (permalink / raw)
  To: archer

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

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

* Re: archergdb can't use output command to print Fortran allocatable arrays
  2011-11-23  7:34 archergdb can't use output command to print Fortran allocatable arrays xunxun
@ 2011-11-23 13:37 ` Jan Kratochvil
  2011-11-27 20:34 ` Jan Kratochvil
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Kratochvil @ 2011-11-23 13:37 UTC (permalink / raw)
  To: xunxun; +Cc: archer

On Wed, 23 Nov 2011 08:33:55 +0100, xunxun wrote:
>  4) output ccc
>    Cannot resolve DW_OP_push_object_address for a missing object
> 
>  It's obviours wrong when using the output command.

There is apparently missing an object_address_set call in that `output' code
path, I will check it later.


Thanks,
Jan

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

* Re: archergdb can't use output command to print Fortran allocatable arrays
  2011-11-23  7:34 archergdb can't use output command to print Fortran allocatable arrays xunxun
  2011-11-23 13:37 ` Jan Kratochvil
@ 2011-11-27 20:34 ` Jan Kratochvil
  2011-11-29 10:08   ` xunxun
  1 sibling, 1 reply; 4+ messages in thread
From: Jan Kratochvil @ 2011-11-27 20:34 UTC (permalink / raw)
  To: xunxun; +Cc: archer

On Wed, 23 Nov 2011 08:33:55 +0100, xunxun wrote:
>  4) output ccc
>    Cannot resolve DW_OP_push_object_address for a missing object

Fixed for archer-jankratochvil-vla:
	888d3adcef81341de12e9da424c660152adc0178

But the whole branch should be written in a more integrated way.


Thanks,
Jan

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

* Re: archergdb can't use output command to print Fortran allocatable arrays
  2011-11-27 20:34 ` Jan Kratochvil
@ 2011-11-29 10:08   ` xunxun
  0 siblings, 0 replies; 4+ messages in thread
From: xunxun @ 2011-11-29 10:08 UTC (permalink / raw)
  To: Jan Kratochvil; +Cc: archer

于 2011/11/28 4:34, Jan Kratochvil 写道:
> On Wed, 23 Nov 2011 08:33:55 +0100, xunxun wrote:
>>   4) output ccc
>>     Cannot resolve DW_OP_push_object_address for a missing object
> Fixed for archer-jankratochvil-vla:
> 	888d3adcef81341de12e9da424c660152adc0178
>
> But the whole branch should be written in a more integrated way.
>
>
> Thanks,
> Jan
Thanks, I will try it.

-- 
Best Regards,
xunxun

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

end of thread, other threads:[~2011-11-29 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-23  7:34 archergdb can't use output command to print Fortran allocatable arrays xunxun
2011-11-23 13:37 ` Jan Kratochvil
2011-11-27 20:34 ` Jan Kratochvil
2011-11-29 10:08   ` xunxun

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