RFR: JDK-8036003: Add --with-debug-symbols=[none|internal|external|zipped]

Yasumasa Suenaga yasuenag at gmail.com
Thu Nov 19 11:19:08 UTC 2015


Hi all,
(I removed distro-pkg-dev from this email)

I've uploaded new webrev:
   http://cr.openjdk.java.net/~ysuenaga/JDK-8036003/webrev.02/

>   * No logic in spec.gmk. That should be done in the m4 files. Ideally, spec.gmk is just a listing of variables and their contents.

I've fixed it in new webrev.

>   * Maybe the name of the flag should reflect the fact that we're talking about native debug information, and not the java classes. Or maybe that's just understood..?

Yes, I understood.
My point is debug information of native binaries.

However, Omair and Severin propose to set -g option of javac in it.
It is different from my point, but it might useful for us.
So I implemented it in new webrev.


Thanks,

Yasumasa


On 2015/11/19 17:57, Severin Gehwolf wrote:
> On Wed, 2015-11-18 at 13:19 -0500, Omair Majid wrote:
>> * Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> [2015-11-18 13:15]:
>>>   * Maybe the name of the flag should reflect the fact that we're
>>>   talking about native debug information, and not the java classes. Or
>>>   maybe that's just understood..?
>>
>> Actually, I wouldn't mind at all if this option included debug
>> information for java classes and set JAVA_CFLAG="-g" with some value(s)
>> of --with-debug-symbols.
>
> +1
>
> Having extra switches for java classes seem overly complicated (yet I
> can see a need that this might not be desired). It would be nice to
> have one switch which turns on debug symbols for both, native and java
> files.
>
> Cheers,
> Severin
>



More information about the build-dev mailing list