This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Dose GDB support Fortran Cods?
- From: Wu Zhou <woodzltc at cn dot ibm dot com>
- To: dinght at iopp dot ccnu dot edu dot cn
- Cc: bug-gdb at sources dot redhat dot com, gdb at sources dot redhat dot com, fortran at gcc dot gnu dot org
- Date: Mon, 8 Aug 2005 10:06:20 +0800 (CST)
- Subject: Re: Dose GDB support Fortran Cods?
> command line,I use "gdb test",then I enter "list",but screen displays:
>
> 1 ../sysdeps/i386/elf/start.S: No such file or directory.
> in ../sysdeps/i386/elf/start.S
This is a bug in GDB, we ever discussed a similar problem in:
http://sources.redhat.com/ml/gdb/2005-07/msg00228.html.
BTW: there will be more chance you gdb/fortran problems get answered if
you ask in gdb@sources.redhat.com or fortran@gcc.gnu.org. It seems that
few people read bug-gdb@. :-)
> GDB in my computer was configured as "i386-redhat-linux-gnu",it
> is GNU gdb Red Hat Linux (5.3post-0.20021129.18rh).
>
> In the manual page it is said GDB does support Fortran code,but I
> don't know why it doesn't work here.
Yes. GDB does support Fortran. You can simply ignore the above problem,
and go on with the debugging of your program. For example, you can set
breakpoints at MAIN__, or any other function or lines, you can start the
process by "run" command, and so on...
Regards
- Wu Zhou