This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Gdb does not list .S files
- From: Richard Earnshaw <rearnsha at cambridge dot arm dot com>
- To: Pierre Habraken <Pierre dot Habraken at imag dot fr>
- Cc: gdb at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Mon, 09 Sep 2002 15:16:35 +0100
- Subject: Re: Gdb does not list .S files
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
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.