public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Request for status on fix for limitations with g77 -fdebug_kludge option
@ 2000-05-23  6:16 Larry Cohen
  2000-05-23 12:29 ` Alexandre Oliva
  2000-05-23 18:58 ` Andrew Cagney
  0 siblings, 2 replies; 4+ messages in thread
From: Larry Cohen @ 2000-05-23  6:16 UTC (permalink / raw)
  To: help-gcc; +Cc: gdb

To Whom It May Concern;

 I have recently downloaded and installed gcc-2.95.2 and gdb-5.0 packages
 for the purposes of compiling and running FORTRAN-77 programs.  The gcc
 package documentation states that gdb is currently incapable of printing
 out the values of variables that are part of COMMON BLOCK storage and
 that rudimentary COMMON BLOCK variable information could be retrieved
 within gdb by invoking the -fdebug-kludge option during the g77 compile
 process.  Also, the documentation states that this limitation in
 printing out the explicit value of a COMMON BLOCK variable will be fixed
 in some future release of gcc and gdb.  Would you please send me any
 information about when these future gcc and gdb releases (that print out
 the value of a COMMON BLOCK variable) will occur.


Larry Cohen
Senior Analyst
Science Applications International Corporation
2018-A Lewis Turner Blvd.
Ft. Walton Beach, FL 32547
Tel.: (850) 863 - 3124
Fax: (850) 862 -0720
e-mail: cohenl@saic.com



^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Request for status on fix for limitations with g77 -fdebug_kludge option
@ 2000-05-24  2:54 Toon Moene
  0 siblings, 0 replies; 4+ messages in thread
From: Toon Moene @ 2000-05-24  2:54 UTC (permalink / raw)
  To: gdb

Andrew Cagney wrote:

>Larry Cohen wrote:

>> The gcc
>>  package documentation states that gdb is currently incapable of printing
>>  out the values of variables that are part of COMMON BLOCK storage and
>>  that rudimentary COMMON BLOCK variable information could be retrieved
>>  within gdb by invoking the -fdebug-kludge option during the g77 compile
>>  process.

> At present there is no active Fortran GDB maintainer and effectivly 
> zero activity on GDB's support for fortran :-(

While this is true, to the best of my knowledge the issue with printing
COMMON BLOCK items in gdb has been solved (it was a limitation of the
way g77 wrote debug information).

The solution is in the CVS mainline of GCC.  Pick any recent snapshot of
GCC if you can't use CVS and see if using just -g solves your problem.

--
Toon Moene, KNMI, PO Box 201, 3730 AE De Bilt, The Netherlands.
Tel. +31302206443, Fax +31302210407,  e-mail moene@knmi.nl
URL: http://www.knmi.nl/hirlam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-24  2:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-23  6:16 Request for status on fix for limitations with g77 -fdebug_kludge option Larry Cohen
2000-05-23 12:29 ` Alexandre Oliva
2000-05-23 18:58 ` Andrew Cagney
2000-05-24  2:54 Toon Moene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).