changeset in /hg/icedtea: 2009-05-22 Gary Benson <gbenson at redh...

Gary Benson gbenson at redhat.com
Wed Jun 10 13:45:30 PDT 2009


changeset 49646e89d0ce in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=49646e89d0ce
description:
	2009-05-22  Gary Benson  <gbenson at redhat.com>

		* ports/hotspot/src/cpu/zero/vm/stackPrinter_zero.hpp
		Include interpreterRuntime.hpp and scopeDesc.hpp.
		(ZeroStackPrinter::print_word): Decode bcx to get bci.

diffstat:

2 files changed, 12 insertions(+)
ChangeLog                                           |    6 ++++++
ports/hotspot/src/cpu/zero/vm/stackPrinter_zero.hpp |    6 ++++++

diffs (29 lines):

diff -r bdb3cd6099a9 -r 49646e89d0ce ChangeLog
--- a/ChangeLog	Wed Jun 10 16:59:23 2009 +0100
+++ b/ChangeLog	Fri May 22 15:18:17 2009 +0100
@@ -1,3 +1,9 @@ 2009-05-22  Gary Benson  <gbenson at redhat
+2009-05-22  Gary Benson  <gbenson at redhat.com>
+
+	* ports/hotspot/src/cpu/zero/vm/stackPrinter_zero.hpp
+	Include interpreterRuntime.hpp and scopeDesc.hpp.
+	(ZeroStackPrinter::print_word): Decode bcx to get bci.
+
 2009-05-22  Gary Benson  <gbenson at redhat.com>
 
 	* patches/icedtea-zero.patch
diff -r bdb3cd6099a9 -r 49646e89d0ce ports/hotspot/src/cpu/zero/vm/stackPrinter_zero.hpp
--- a/ports/hotspot/src/cpu/zero/vm/stackPrinter_zero.hpp	Wed Jun 10 16:59:23 2009 +0100
+++ b/ports/hotspot/src/cpu/zero/vm/stackPrinter_zero.hpp	Fri May 22 15:18:17 2009 +0100
@@ -115,6 +115,12 @@ class ZeroStackPrinter {
             if (is_valid && !strcmp(field, "_method")) {
               value = istate->method()->name_and_sig_as_C_string(_buf,_buflen);
               field = "istate->_method";
+            }
+            else if (is_valid && !strcmp(field, "_bcp") && istate->bcp()) {
+              snprintf(_buf, _buflen, PTR_FORMAT " (bci %d)", istate->bcp(),
+                       istate->method()->bci_from(istate->bcp()));
+              value = _buf;
+              field = "istate->_bcp";
             }
             else {
               snprintf(_buf, _buflen, "%sistate->%s",



More information about the distro-pkg-dev mailing list