RFR: 8033251: Use DWARF debug symbols for Linux 32-bit as default
coleen.phillimore at oracle.com
Fri Mar 28 16:30:06 UTC 2014
I thought you'd be able to remove the DEBUG_BINARIES logic with this
change. It appears there are no platforms left that use stabs with
gcc. Does this change add -g for saproc, adlc and jsig compilations also?
On 3/28/14 12:12 PM, Erik Helin wrote:
> Hi all,
> this patch changes the Linux Makefiles to use DWARF as the default
> debug symbol format for Linux 32-bit instead of STABS. The main
> arguments for using DWARF are:
> - DWARF provides a superior debugging experience compared to STABS.
> - STABS support in GCC/GDB is in maintenance mode .
> - External tools (e.g. perf on Linux) often understands DWARF but not
> - Compilation on 32-bit Linux can make use of precompiled headers.
> - Compiling with GCC 4.3.4, GCC 4.7.3 and GCC 4.8.1
> - JPRT
> : https://sourceware.org/ml/binutils/2013-01/msg00028.html
More information about the hotspot-dev