This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Fortran: Intel vs G77
On Wed, Jan 15, 2003 at 05:08:43PM -0500, Daniel Jacobowitz wrote:
>On Wed, Jan 15, 2003 at 09:51:04PM +0000, David Lecomber wrote:
[..]>
>Sure, via gcc_compiled, but that's not the right way to approach this
>problem.
>
>First of all, what version of G77 did you test with? And what format
>of debug information?
g77 2.96 (on redhat-7.3) -- symptom also appears in the g77 of
redhat-6.2 but I don't have the version to hand -- and Intel Fortran
Compiler v6.0.
The debug info was the default from the -g option. I've now also just
run g77 with -gdwarf and the same problem arises..
>Secondly, which compiler's debug information is correct? Or are they
>just different and triggering different bugs?
Beats me ;-) -- a good googling uncovers g77 probably has its problems
-- but as gdb doesn't get it right all the time for either compiler,
whichever format is correct we need to do something in gdb to be
consistent.
I think using the gcc_compiled flag is the way to go to merge the
patches into one gdb build. I know it seems like a hack, but it seems
a whole lot easier than getting folks to change either the Intel or
GNU compiler. It looks like the issue has been known about for a long
time so perhaps the compiler people just can't agree?
>Third, it really sounds like we're going to need copyright assignment
>papers from you.
No probs -- will contact the appropriate folks at FSF (unless you have
one to hand)
Cheers
David