Mercurial > hg > truffle
changeset 6475:67b94a9fba57
append global stub address when disassembling a call to a global stub
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 01 Oct 2012 22:10:47 +0200 |
parents | f2624e472426 |
children | 64d6e2343a68 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Mon Oct 01 22:09:38 2012 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Mon Oct 01 22:10:47 2012 +0200 @@ -135,8 +135,9 @@ if (f.getName().endsWith("Stub")) { f.setAccessible(true); try { - if (f.get(config).equals(call.target)) { - return f.getName(); + Object address = f.get(config); + if (address.equals(call.target)) { + return f.getName() + ":0x" + Long.toHexString((Long) address); } } catch (Exception e) { }