From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25411 invoked by alias); 2 Aug 2005 16:16:10 -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 25402 invoked by uid 22791); 2 Aug 2005 16:16:07 -0000 Received: from bromo.msbb.uc.edu (HELO bromo.msbb.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Tue, 02 Aug 2005 16:16:07 +0000 Received: by bromo.msbb.uc.edu (Postfix, from userid 501) id EBE801DC06D; Tue, 2 Aug 2005 12:12:49 -0400 (EDT) To: gdb@sources.redhat.com Subject: fortran character strings in common blocks Message-Id: <20050802161249.EBE801DC06D@bromo.msbb.uc.edu> Date: Tue, 02 Aug 2005 16:16:00 -0000 From: howarth@bromo.msbb.uc.edu (Jack Howarth) X-SW-Source: 2005-08/txt/msg00012.txt.bz2 Is gdb supposed to be able to print the values of character strings that belong to COMMON blocks? I find that a character string declared as... PARAMETER (COMMAX=132) CHARACTER*(COMMAX) COMLYN COMMON /CCOMND/ COMLYN that I get an error... (gdb) print COMLYN No symbol "COMLYN" in current context. even though I can assign this character string to a locally declared character string (not in a COMMON block) and then print this string with gdb. Thanks in advance for any clarifications on this issue. Jack ps This is with gfortran from the current gcc 4.0 branch.