This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: about .mdebug
- To: qiulm <qiulm at 21cn dot com>
- Subject: Re: about .mdebug
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 12 Feb 2001 10:23:10 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <002201c09508$7dcc6c80$2000a8c0@evsoft>
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~