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 does not list .S files


Richard Earnshaw wrote:
> 
> Pierre.Habraken@imag.fr said:
> > I am debugging a program compiled from C and Arm assembly language
> > source files, using the simulator (target sim) of arm-elf-gdb
> > (compiled on 23 august 2002 from cvs repository). As long as no
> > breakpoint has been declared within a given assembly language file the
> > contents of that file can NOT be listed. Is this a feature or am I
> > doing something wrong ? How can one obtain the list of ALL source
> > files, assembly language as well as C language, right after gdb has
> > been started ?
> 
> If there's a problem anywhere it's in gas not in gdb.  GDB doesn't know
> about your assembly files because they contain no debug information.

Ok. But I do not undestand what is the purpose of the gas option
--gdwarf2 ?...

Pierre
-- 
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________


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