Is slowdebug supposed to also compile JNI portions of JDK with -g?

Erik Joelsson erik.joelsson at oracle.com
Mon May 13 08:29:39 UTC 2013


It is supposed to compile everything with debug turned on AFAIK. I will 
take a look.

/Erik

On 2013-05-09 20:10, David Chase wrote:
> Because for me it did not, at least not on a Mac.
>
> My workaround, which was not too painful because the new build seems to use fully-qualified path names:
>
> touch jdk/src/share/native/java/util/zip/CRC32.c
> make images CONF=macosx-x86_64-normal-server-slowdebug LOG=debug
> ...
>
> touch jdk/src/share/native/java/util/zip/CRC32.c
> # copy compilation command line from above log, add -g, paste
> ... /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 -g ... /Users/dr2chase/work/jdk8tl-full/jdk/src/share/native/java/util/zip/CRC32.c
> make images CONF=macosx-x86_64-normal-server-slowdebug LOG=debug
>
> and now I am debugging.
> But it would be better yet to compile those files for debugging.
>
> David
>



More information about the build-dev mailing list