Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal.java @ 10229:f6a055fcf47d
8005038: remove crufty '_g' support from SA
Reviewed-by: coleenp, mgronlun, rbackman
author | sla |
---|---|
date | Tue, 07 May 2013 14:33:09 +0200 |
parents | 8e47bac5643a |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
10228:b5fef8013a95 | 10229:f6a055fcf47d |
---|---|
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 package sun.jvm.hotspot.debugger.linux; | 25 package sun.jvm.hotspot.debugger.linux; |
26 | 26 |
27 import java.io.*; | 27 import java.io.File; |
28 import java.net.*; | 28 import java.util.ArrayList; |
29 import java.util.*; | 29 import java.util.List; |
30 import sun.jvm.hotspot.debugger.*; | 30 |
31 import sun.jvm.hotspot.debugger.x86.*; | 31 import sun.jvm.hotspot.debugger.Address; |
32 import sun.jvm.hotspot.debugger.cdbg.*; | 32 import sun.jvm.hotspot.debugger.DebuggerBase; |
33 import sun.jvm.hotspot.utilities.*; | 33 import sun.jvm.hotspot.debugger.DebuggerException; |
34 import java.lang.reflect.*; | 34 import sun.jvm.hotspot.debugger.DebuggerUtilities; |
35 import sun.jvm.hotspot.debugger.MachineDescription; | |
36 import sun.jvm.hotspot.debugger.NotInHeapException; | |
37 import sun.jvm.hotspot.debugger.OopHandle; | |
38 import sun.jvm.hotspot.debugger.ReadResult; | |
39 import sun.jvm.hotspot.debugger.ThreadProxy; | |
40 import sun.jvm.hotspot.debugger.UnalignedAddressException; | |
41 import sun.jvm.hotspot.debugger.UnmappedAddressException; | |
42 import sun.jvm.hotspot.debugger.cdbg.CDebugger; | |
43 import sun.jvm.hotspot.debugger.cdbg.ClosestSymbol; | |
44 import sun.jvm.hotspot.debugger.cdbg.LoadObject; | |
45 import sun.jvm.hotspot.utilities.PlatformInfo; | |
35 | 46 |
36 /** <P> An implementation of the JVMDebugger interface. The basic debug | 47 /** <P> An implementation of the JVMDebugger interface. The basic debug |
37 facilities are implemented through ptrace interface in the JNI code | 48 facilities are implemented through ptrace interface in the JNI code |
38 (libsaproc.so). Library maps and symbol table management are done in | 49 (libsaproc.so). Library maps and symbol table management are done in |
39 JNI. </P> | 50 JNI. </P> |
236 } | 247 } |
237 } | 248 } |
238 | 249 |
239 /* called from attach methods */ | 250 /* called from attach methods */ |
240 private void findABIVersion() throws DebuggerException { | 251 private void findABIVersion() throws DebuggerException { |
241 if (lookupByName0("libjvm.so", "__vt_10JavaThread") != 0 || | 252 if (lookupByName0("libjvm.so", "__vt_10JavaThread") != 0) { |
242 lookupByName0("libjvm_g.so", "__vt_10JavaThread") != 0) { | |
243 // old C++ ABI | 253 // old C++ ABI |
244 useGCC32ABI = false; | 254 useGCC32ABI = false; |
245 } else { | 255 } else { |
246 // new C++ ABI | 256 // new C++ ABI |
247 useGCC32ABI = true; | 257 useGCC32ABI = true; |