This is the mail archive of the gcc-help@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]
Other format: [Raw text]

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





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