How to see labels in common block
Alexander L
alexl61@hotmail.com
Wed Feb 9 08:48:00 GMT 2000
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
More information about the Gcc
mailing list