public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: howarth@bromo.msbb.uc.edu (Jack Howarth)
To: gdb@sources.redhat.com
Subject: fortran character strings in common blocks
Date: Tue, 02 Aug 2005 16:16:00 -0000	[thread overview]
Message-ID: <20050802161249.EBE801DC06D@bromo.msbb.uc.edu> (raw)

   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.

             reply	other threads:[~2005-08-02 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 16:16 Jack Howarth [this message]
2005-08-03  2:44 ` Wu Zhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050802161249.EBE801DC06D@bromo.msbb.uc.edu \
    --to=howarth@bromo.msbb.uc.edu \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).