From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7203 invoked by alias); 26 Jan 2005 14:50:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7172 invoked from network); 26 Jan 2005 14:50:53 -0000 Received: from unknown (HELO rock.esc.cam.ac.uk) (131.111.41.250) by sourceware.org with SMTP; 26 Jan 2005 14:50:53 -0000 Received: from parabrisas.esc.cam.ac.uk ([131.111.44.165] ident=tow) by rock.esc.cam.ac.uk with esmtp (Exim 4.34) id 1CtoVO-0005lU-JM for gdb@sources.redhat.com; Wed, 26 Jan 2005 14:50:53 +0000 Message-ID: <41F7AE4A.3010000@cam.ac.uk> Date: Wed, 26 Jan 2005 14:50:00 -0000 From: Toby White Organization: University of Cambridge User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: No symbol "var" in current context Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00129.txt.bz2 I understand that there is no symbol "var" in current context. However: is there a way to ask gdb "well, which symbols are in current context, then?" Background - I'm using gdb with various Fortran compilers which have useless debuggers (in this case, NAG, whose own debugger won't even read corefiles) and these compilers use weird and wonderful name-mangling systems. I suspect in several cases I'm getting the above error messages not because the variable has been optimized away, but just because I'm not clever enough to work out exactly how it's been name-mangled. Toby -- Dr. Toby White Dept. of Earth Sciences, Downing Street, Cambridge CB2 3EQ. UK