From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18526 invoked by alias); 30 Aug 2010 23:21:27 -0000 Received: (qmail 18512 invoked by uid 22791); 30 Aug 2010 23:21:27 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=BAYES_00,DNS_FROM_RFC_BOGUSMX,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from sidious.london.02.net (HELO mail.o2.co.uk) (82.132.130.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Aug 2010 23:21:21 +0000 Received: from hichpc (188.221.136.15) by mail.o2.co.uk (8.5.119.05) (authenticated as hicham.mouline) id 4C638A9506262CE8; Tue, 31 Aug 2010 00:37:20 +0100 From: "Hicham Mouline" To: "'Jan Kratochvil'" Cc: References: <20100827112846.6745@web001.roc2.bluetie.com> <20100830175734.GA11759@host1.dyn.jankratochvil.net> In-Reply-To: <20100830175734.GA11759@host1.dyn.jankratochvil.net> Subject: RE: gomp status Date: Mon, 30 Aug 2010 23:21:00 -0000 Message-ID: <000d01cb489a$0b8c2b10$22a48130$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00169.txt.bz2 > -----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,