Google Groups Home
Help | Sign in
Message from discussion using gdb on windows
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Ron Ford  
View profile
 More options May 16, 12:08 am
Newsgroups: comp.lang.fortran
From: Ron Ford <r...@nowhere.net>
Date: Thu, 15 May 2008 23:08:45 -0500
Local: Fri, May 16 2008 12:08 am
Subject: using gdb on windows
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google