Add debugging information to GAS?
Daniel Jacobowitz
drow@mvista.com
Mon Sep 30 14:06:00 GMT 2002
On Mon, Sep 30, 2002 at 10:42:28AM -0400, Hans-Peter Nilsson wrote:
> On Mon, 30 Sep 2002, Hans-Peter Nilsson wrote:
> > On 30 Sep 2002, Nick Clifton wrote:
> > > Hi Martin,
> > >
> > > > I use ARM and I want to debug my assemble programs with gdb. But I
> > > > don't know how to add debugging information into .elf file. if I use
> > > > "arm-elf-gcc -g -o hello.s",the option "-g" does noting. Who can
> ^
> Ok, I need to wake up. Sorry. That *is* an assembly source
> file, so -Wa,--gdwarf2 is right. (Now where's the coffee? :-)
Only if he's missing a filename after the "-o"...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Binutils
mailing list