Problems while debugging fortran

Carlos Eduardo Seo cseo@linux.vnet.ibm.com
Wed Oct 24 16:20:00 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joel Brobecker wrote:
>
> Unfortunately, this is an idea that has already been discussed a
> couple of years ago, and people felt that this was not the intent
> of that attribute. See:
>
> http://www.cygwin.com/ml/gdb-patches/2005-11/msg00380.html
>
> I haven't followed any development on the DWARF3 side whether
> something more appropriate has been introduced for that purpose.
>
> What compiler are you using? Do you have any control on what your
> compiler does? Perhaps you can add an extra symbol like we do with
> the Ada compiler? Just some thoughts...
The compiler is XLF and the only way it tags the "main" function is by
adding DW_AT_calling_convention = DW_CC_program. Unfortunately, I
don't have any control over the compiler, so I'm stuck with this. Any
other thoughts?

Thanks and regards,

- --
Carlos Eduardo Seo
Software Engineer
IBM Linux Technology Center
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHH3C/qvq7Aov/qQARAldZAJ4kQSm43hBsKggHPurQ6HLAjbwN6gCeP+lX
VpHrh1Pt3tETq78AWNFoPZc=
=9/uV
-----END PGP SIGNATURE-----



More information about the Gdb mailing list