agent/src/share/classes/sun/jvm/hotspot/debugger/proc/ProcDebuggerLocal.java

Print this page
rev 9494 : 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Contributed-by: Andrew Hughes gnu.andrew@redhat.com

@@ -92,11 +92,11 @@
             fpRegIndex = AMD64ThreadContext.RBP;
         } else if (cpu.equals("aarch64")) {
             threadFactory = new ProcAARCH64ThreadFactory(this);
             pcRegIndex = AARCH64ThreadContext.PC;
             fpRegIndex = AARCH64ThreadContext.FP;
-        } else if (cpu.equals("ppc64")) {
+        } else if (cpu.equals("ppc64") || cpu.equals("ppc64le")) {
             threadFactory = new ProcPPC64ThreadFactory(this);
             pcRegIndex = PPC64ThreadContext.PC;
             fpRegIndex = PPC64ThreadContext.SP;
         } else {
           try {