Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java @ 6073:78d2ae5ab35b
7163117: Agent can't connect to process on Mac OSX
Reviewed-by: dholmes, coleenp, sla, minqi, kvn
author | nloodin |
---|---|
date | Wed, 09 May 2012 16:24:07 +0200 |
parents | f08d439fab8c |
children | a9fed06c01d2 |
comparison
equal
deleted
inserted
replaced
6072:d506b2cf2ad0 | 6073:78d2ae5ab35b |
---|---|
570 private void setupDebuggerBsd() { | 570 private void setupDebuggerBsd() { |
571 setupJVMLibNamesBsd(); | 571 setupJVMLibNamesBsd(); |
572 | 572 |
573 if (cpu.equals("x86")) { | 573 if (cpu.equals("x86")) { |
574 machDesc = new MachineDescriptionIntelX86(); | 574 machDesc = new MachineDescriptionIntelX86(); |
575 } else if (cpu.equals("amd64")) { | 575 } else if (cpu.equals("amd64") || cpu.equals("x86_64")) { |
576 machDesc = new MachineDescriptionAMD64(); | 576 machDesc = new MachineDescriptionAMD64(); |
577 } else { | 577 } else { |
578 throw new DebuggerException("BSD only supported on x86/amd64"); | 578 throw new DebuggerException("BSD only supported on x86/x86_64. Current arch: " + cpu); |
579 } | 579 } |
580 | 580 |
581 BsdDebuggerLocal dbg = new BsdDebuggerLocal(machDesc, !isServer); | 581 BsdDebuggerLocal dbg = new BsdDebuggerLocal(machDesc, !isServer); |
582 debugger = dbg; | 582 debugger = dbg; |
583 | 583 |