This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems while debugging fortran


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

Joel Brobecker wrote:
>
> I think Daniel was right on the spot. You are trying to use the
> "current source file" concept right at the start of your session
> assuming that it is automatically set to the source file where
> you main is defined. Is that correct?
Yes. And the problem is that the current file is set as "init.c".
>
> Unfortunately, I think this feature only works well for Ada and C
> as far as I can tell from the code.  Does the patch that Daniel posted
> earlier help in your case?
No, unfortunately it doesn't.

> We can certainly work on modifying GDB to be
> better at finding the name of the main procedure in a Fortran program
> (just like we do with Ada programs).
Any ideas where can we start?

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

iD8DBQFG+B4Lqvq7Aov/qQARAg8xAJ9NJbMZhZynj2sHhO55mkW+cycrbACggA4q
zN8lJUn/Utp/6RhzcLrtt6U=
=n7sA
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]