This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to see labels in common block


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]