This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Fortran question: fdebug-kludge
- From: Hassan Aurag <aurag at cae dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: 05 Mar 2002 09:38:02 -0500
- Subject: Fortran question: fdebug-kludge
I am using:
g77 version 2.95.1 19990816 (release) (from FSF-g77 version 0.5.25
19990816 (release))
In my code, I have a lot of common block statements.
Now, I am using the -fdebug-kludge option to generate some debugging
info for those common blocks.
However, I still can't seem to be able to access some variables in
there. Incidentally, the one I tried to read was of logical type.
Can anyone give me an example of how to access a common block
Let's say, I have:
integer*4 a
logical*1 l
character*4 c
common x/a, l, c
Now in gdb, how do I access a, l, and c
Thanks in advance