This is the mail archive of the
dwarf2@corp.sgi.com
mailing list for the dwarf2 project.
Re: dwarf support for assembly level debugging information
- From: Michael Eager <eager at eagercon dot com>
- To: Tarun <tarun at acmet dot com>
- Cc: dwarf2 at els dot sgi dot com
- Date: Fri, 05 Nov 2004 07:56:46 -0800
- Subject: Re: dwarf support for assembly level debugging information
- References: <000401c4c244$bffcffd0$a100a8c0@u8test4>
- Reply-to: Michael Eager <eager at eagercon dot com>
Tarun wrote:
Hi all,
I wanted to know if 'as' (GNU assembler) generates dwarf debug
information when a hand coded assembly file is assembled with 'as'
with '-gdwarf-2' option.
To be simple in words does dwarf support assembly level debugging.
That is we write a hand code assembly file (say test.s) the instruct
assembler to include debugging information. The command line of type:
as -gdwarf-2 test.s
The GNU assember has no built-in ability to generate DWARF data.
The assembler really can't tell what you are doing with each assembler
instruction.
You can manually generate DWARF data, naturally.
--
Michael Eager Eager Consulting eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077