This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to see labels in common block
- To: gcc at gcc dot gnu dot org
- Subject: How to see labels in common block
- From: "Alexander L" <alexl61 at hotmail dot com>
- Date: Wed, 09 Feb 2000 08:47:50 PST
Hi gentlemen.
I am running Linux version 2.2.12 on my PC.
I have gcc 2.95.1, g77 is 0.5.25 and gdb is 4.18.
I have the labels in common block.
integer a, b,c
common /my_block/ a, b,c
I cannot see these labels( a,b,c) in gdb.
I tried to compile using -fdebug-kludge and use the procedure
which is described in g77 manual but still cannot get information
about the members of the common block.
Could you tell me how I can see the labels in the common block.
I need to debug some fortran program and I need to see the values
of the labels and it is very difficult to calculate the offset of
the labels in the "common" array.
Regard's
Alexander
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com