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


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.

R.


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