From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5274 invoked by alias); 7 Jan 2008 18:22:51 -0000 Received: (qmail 5266 invoked by uid 22791); 7 Jan 2008 18:22:51 -0000 X-Spam-Check-By: sourceware.org Received: from artemis.sr.unh.edu (HELO artemis.sr.unh.edu) (132.177.249.69) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jan 2008 18:22:28 +0000 Received: from localhost (localhost [127.0.0.1]) by artemis.sr.unh.edu (Postfix) with ESMTP id 5D1BF4B400B for ; Mon, 7 Jan 2008 13:22:26 -0500 (EST) Received: from artemis.sr.unh.edu ([127.0.0.1]) by localhost (artemis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07325-07 for ; Mon, 7 Jan 2008 13:22:25 -0500 (EST) Received: from lxion.sr.unh.edu (lxion.sr.unh.edu [132.177.249.113]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by artemis.sr.unh.edu (Postfix) with ESMTP id 22EAA4B4008 for ; Mon, 7 Jan 2008 13:22:25 -0500 (EST) Message-ID: <47826F0B.90806@apollo.sr.unh.edu> Date: Mon, 07 Jan 2008 18:22:00 -0000 From: burlen User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: gdb@sourceware.org Subject: gdb OpenMP Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 2008-01/txt/msg00040.txt.bz2 Hi, I just started to use open MP. My code(c++ previously serial tested and debugged) crashes when I use openMp, so I open up in gdb. I set break point as usual and gdb stops there, however when I try to print any variables I get message: No symbol ... in current context. So I wonder if there is anything specific that needs to be done when debugging OpenMP codes with gdb? Thanks -- Burlen Loring Information Technologist III Space Science Center Institute for the Study of Earth, Oceans, and Space University of New Hampshire 39 College Road, Durham, NH 03824 Phone: 603-862-1140