This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: about .mdebug


On Mon, Feb 12, 2001 at 11:28:25PM +0800, qiulm wrote:
> Would you please tell me where I can get docs about .mdebug
> section in elf file?

The best place is binutils/gas/ecoff.c.

Do know that alpha-linux will not be using mdebug for gcc 3.0.
We've switched to dwarf2.  Also know that older versions of gcc
could generate dwarf2, though they did not do so by default.

You will likely retain more of your sanity if you ignore mdebug
and work with dwarf2 instead.  Dwarf2 is much better documented,
and is generally more expressive, especially with languages other
than plain C.


r~


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