serviceability/sa/TestJhsdbJstackMixedWithXComp.java#xcomp failed due because 
stderr has message to report DebuggerException caused by unknown DWARF opcode.

During the discussion, we've reached the conclusion that it is better to add 
`print_waring()` to notice this case (it is handled in 
[JDK-8392120](https://bugs.openjdk.org/browse/JDK-8392120): PR #33047), and the 
exception should not be shown in normal.

Thus this PR proposes to show DebuggerException when `LIBSAPROC_DEBUG` 
environment variable is set in mixed jstack.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - 8392132: Test serviceability/sa/TestJhsdbJstackMixedWithXComp.java#xcomp 
failed: Could not find PC in DWARF

Changes: https://git.openjdk.org/jdk/pull/33048/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33048&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8392132
  Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/33048.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33048/head:pull/33048

PR: https://git.openjdk.org/jdk/pull/33048

Reply via email to