This is the mail archive of the dwarf2@corp.sgi.com mailing list for the dwarf2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dwarf support for assembly level debugging information


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]