native debug symbols support on Windows
christoph.langer at sap.com
Wed Dec 4 08:06:05 UTC 2019
I'm currently looking into native debug symbols support for Windows.
The OpenJDK build system supports these two configure flags --with-native-debug-symbols=<internal|external> (among a few other options which I don't want to discuss here).
So, the name implies that for "internal", debug symbols should be contained in the binaries. And "external" should create separate files that contain the debug symbols. However, to my knowledge, Windows would always make use of external symbol files, named *.pdb. And there is no way to have the debug symbols included in the binaries. Is that correct or am I wrong in this assumption?
If it's true, I guess --with-native-debug-symbols=internal would not make sense on Windows and should rather be rejected by configure. Otherwise, if we were to support --with-native-debug-symbols=internal, the build is broken for target "test-image" when it comes to building/copying the gtest image.
I'd like to fix either the one way or the other. What do people think?
Thanks for your help
More information about the core-libs-dev