This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
./configure --with-dwarf3
- From: Basin Ilya <basinilya at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 4 Aug 2016 21:49:38 +0300
- Subject: ./configure --with-dwarf3
- Authentication-results: sourceware.org; auth=none
Hi.
I recently built `Fedora-14` gcc SRPM on `RHEL-6.8` to have
`AddressSanitizer`. Everything works except that old gdb there doesn't
show me local variables and source listing. This can be fixed by
compiling my programs with -gdwarf-3.
Is it possible to make DWARF version 3 default, like it was in gcc 4x? I
saw the configure option '--with-dwarf2', but no equivalent '--with-dwarf3'.
Do I need version 3 at all or is version 2 also good?