This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problems while debugging fortran
- From: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb at sourceware dot org
- Date: Wed, 24 Oct 2007 14:20:16 -0200
- Subject: Re: Problems while debugging fortran
- Openpgp: id=8BFFA900
- References: <46EB035B.4090802@linux.vnet.ibm.com> <20070920173246.GJ16400@adacore.com> <46F2CE45.5020308@linux.vnet.ibm.com> <20070920204622.GB4368@adacore.com> <20070920205629.GA17779@caradoc.them.org> <46FAD136.5030406@linux.vnet.ibm.com> <20070926214619.GC9403@adacore.com>
-----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-----