From: Toon Moene Newsgroups: comp.lang.fortran,comp.os.msdos.djgpp Subject: Re: A fortran question regarding gdb Date: 9 Apr 1997 19:32:08 GMT Organization: Moene Computational Physics, Maartensdijk, The Netherlands Message-ID: <5igqro$ka$1@news.utrecht.NL.net> References: <334BD392 DOT 741D AT eng DOT usf DOT edu> NNTP-Posting-Host: moene.indiv.nluug.nl Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp "Nihat M. Gurmen" wrote: >I installed g770519 for DJGPP dev. env. . I am using gdb to debug my >program. I can access the variables which are not listed in common >blocks. When I am trying to print the variables in a common block all I >get is a memory address. How can I retrieve the value of the variable >at that address? If GDB is not suitable for this, is there another free >debugger for intel machines? For example is there a port of DBX for >DJGPP-Fortran? Nope, this is a g77 problem, that will be addressed (sorry, no fixed schedule). It is documented, though (there even is a compile time switch to at least let you locate the data, but access is only via "set language c" then). BTW, I'm glad we don't have Jim Klein as a customer, even though we don't have the distribution channel problems Steve Lionel and his team have :-) -- Toon Moene (mailto:toon AT moene DOT indiv DOT nluug DOT nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 g77 Support: mailto:fortran AT gnu DOT ai DOT mit DOT edu; NWP: http://www.knmi.nl/hirlam