RE: gomp status

Hicham Mouline
2010-08-30T23:21:27Z

> -----Original Message-----
> From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com]
> Sent: 30 August 2010 18:58
> To: Hicham Mouline
> Cc: gdb@sourceware.org
> Subject: Re: gomp status
>
> On Fri, 27 Aug 2010 17:28:46 +0200, Hicham Mouline wrote:
> > What is the status of debugging parallel openmp regions with gdb?
> > In particular the ability to display thread-specific values of
> variables?
>
> There is fix of OMP stepping:
> http://cvs.fedoraproject.org/viewvc/rpms/gdb/devel/gdb-bz533176-
> fortran-omp-step.patch?content-type=text%2Fplain&view=co
>
> and it worked some way during my tests. But I cannot report on more
> details
> offhand. There is a generated new function for the parallel block
> which
> should have debug info for all its local variables.
>
>
> Regards,
> Jan

I've used gdb 7.1.26 to debug a binary built with g++4.3.3 (C++) and the
libgomp that comes with it.
I can step in/over properly inside a parallel block but I can't
display/watch variables inside it.
It says "symbol unavailable" or something like that.
Variables just outside the // block are displayed fine,

Is the fix you mention above fortran-specific? Is it in 7.1.x?

regards,