From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27804 invoked by alias); 12 Sep 2002 19:17: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 27796 invoked from network); 12 Sep 2002 19:17:57 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 12 Sep 2002 19:17:57 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A90543C44; Thu, 12 Sep 2002 15:17:54 -0400 (EDT) Message-ID: <3D80E862.7000500@ges.redhat.com> Date: Thu, 12 Sep 2002 12:17:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Arjan van Dijk Cc: gdb@sources.redhat.com Subject: Re: problem setting displays References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00122.txt.bz2 > Hi, > > In an attempt to circumvent the problems which I reported with the > "display" command in gdb, I tried the "print" command, to get the value of > a variable just once. This did not help. The same errors were reported by > gdb as when I used the "display" command. Who can help? That (in a sense) is good news. It eliminates display from the problem. I suspect it is a problem in either the fortran (that was fortran right :-) parser or the code that handes fortran variable scopes. The other possability is that GDB loaded in additional debug information (gdb does this when it first hits a breakpoint for an object file) and that made the expression invalid. sorry, just guesses. Andrew