This is the mail archive of the gdb@sources.redhat.com 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: gdb with intel fortran compiler


On Wed, Feb 25, 2004 at 12:34:42PM -0800, Peter Jay Salzman wrote:
> On Wed 25 Feb 04,  3:26 PM, Daniel Jacobowitz <drow@false.org> said:
> > On Wed, Feb 25, 2004 at 12:06:53PM -0800, Peter Jay Salzman wrote:
> > > I can't "list out of the box:
> > > 
> > >    p@satan$ gdb a.out 
> > >    (gdb) list
> > >    1       ../sysdeps/i386/elf/start.S: No such file or directory.
> > >            in ../sysdeps/i386/elf/start.S
>  
> Hi Dan,
> 
> > This is typical.  It happens for a lot of non-Fortran programs also. 
> > start.S comes from glibc and is linked into every program.
>  
> Is there a short explanation of what this is and why it shows up?

What it is: startup code.  It calls glibc initialization functions,
that's all.  Why it shows up: I don't know, but almost certainly it is
because GDB does not understand where the main function of your Fortran
program is.  We have some support for this that worked, as I said, for
g77.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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