using gdb on windows
- From: Ron Ford <ron@xxxxxxxxxxx>
- Date: Thu, 15 May 2008 23:08:45 -0500
One reason that I keep silverfrost's f95 suite around is that if I can get
a program to compile, I can step through it with a debugger that I invoke
on one of the pull-downs. I'd like to emulate this capability with gcc's
gdb.
I googled for "gfortran debugger" and found a lot of information that was
often more relevant to the linux crowd. I *did* find this from a previous
exchange with FX:
I read all the time about gfortran and gdb questions that seem to get
solid answers. I believe they are available for linux.
OK then, a brief summary: gfortran is the GNU Fortran compiler, part of
GCC (the GNU Compiler Collection). GCC happens to be the system compiler
on Linux and most other free software operating systems, which means it's
widely used on these OS. gdb is the GNU debugger, also the default
debugger on Linux and other free software OS.
But that doesn't mean it's restricted to Linux. Both GCC (and gfortran)
and gdb are known to work on (free|net|open)bsd, Solaris, MacOS X,
Windows, AIX, Irix, HP-UX, Tru64 and probably others.
!end excerpt
I can't quite seem to get out of the starting blocks on this one, and it's
becoming more relevant as the programs one wants to step through have more
f03 than ever. I tried "gdb [executable name]" and didn't get a bite on
the command line. Is this perhaps addressed in gfortran.pdf?
Thanks in advance,
--
ron Ford
.
- Follow-Ups:
- Re: using gdb on windows
- From: FX
- Re: using gdb on windows
- Prev by Date: Re: fl32 vs df in cvf6.6
- Next by Date: Re: fl32 vs df in cvf6.6
- Previous by thread: IBM XLFortran 8.1 on MacOSX 10.5 (Leopard)
- Next by thread: Re: using gdb on windows
- Index(es):
Relevant Pages
|