This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Add debugging information to GAS?
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: martin at utstar dot com, <binutils at sources dot redhat dot com>
- Date: Mon, 30 Sep 2002 10:42:28 -0400 (EDT)
- Subject: Re: Add debugging information to GAS?
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? :-)
brgds, H-P