Gdb does not list .S files

Richard Earnshaw rearnsha@cambridge.arm.com
Mon Sep 9 07:17:00 GMT 2002


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.



More information about the Gdb mailing list