Fortran question: fdebug-kludge

Hassan Aurag aurag@cae.com
Tue Mar 5 06:39:00 GMT 2002


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






More information about the Gcc-help mailing list