When trying to debug openjdk-20 following error occurs:
-------------------------cut------------------------------------
gdb /usr/lib/jvm/java-20-openjdk-amd64/bin/java
GNU gdb (Ubuntu 13.1-2ubuntu2) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/jvm/java-20-openjdk-amd64/bin/java...
Reading symbols from /usr/lib/debug/.build-id/d1/6b7825e5ce53f77f4e4010b488bd3cd430ab41.debug...
(No debugging symbols found in /usr/lib/debug/.build-id/d1/6b7825e5ce53f77f4e4010b488bd3cd430ab41.debug)
bsp@lunar:~$ gdb /usr/lib/jvm/java-20-openjdk-amd64/bin/java
GNU gdb (Ubuntu 13.1-2ubuntu2) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/jvm/java-20-openjdk-amd64/bin/java...
warning: the debug information found in "/usr/lib/debug//usr/lib/jvm/java-20-openjdk-amd64/bin/java.debuginfo" does not match "/usr/lib/jvm/java-20-openjdk-amd64/bin/java" (CRC mismatch).
----------------------------------------------------------------------
When trying to debug openjdk-20 following error occurs:
------- ------- ------- ----cut- ------- ------- ------- ------- ------- jvm/java- 20-openjdk- amd64/bin/ java gnu.org/ licenses/ gpl.html> /www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
gdb /usr/lib/
GNU gdb (Ubuntu 13.1-2ubuntu2) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help". jvm/java- 20-openjdk- amd64/bin/ java... debug/. build-id/ d1/6b7825e5ce53 f77f4e4010b488b d3cd430ab41. debug.. . debug/. build-id/ d1/6b7825e5ce53 f77f4e4010b488b d3cd430ab41. debug)
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
(No debugging symbols found in /usr/lib/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------
trying to use .debuginfo symbols:
------- ------- ------- ------- cut---- ------- ------- ------- ------- ------- -------
bsp@lunar:~$ gdb /usr/lib/ jvm/java- 20-openjdk- amd64/bin/ java gnu.org/ licenses/ gpl.html> /www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>.
GNU gdb (Ubuntu 13.1-2ubuntu2) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https:/
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help". jvm/java- 20-openjdk- amd64/bin/ java...
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/
warning: the debug information found in "/usr/lib/ debug// usr/lib/ jvm/java- 20-openjdk- amd64/bin/ java.debuginfo" does not match "/usr/lib/ jvm/java- 20-openjdk- amd64/bin/ java" (CRC mismatch). ------- ------- ------- ------- ------- ------- ------- ------- -------
-------