summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-04 03:46:12 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-04 03:46:12 +0000
commit4cb4c929df1ed1b86f3aec90ff7cb954db9a9021 (patch)
tree33e80581405080c28d196255c7a05eaafddbe551
parent9e5167c3518b8a3aef7a69305bb79ef4d7892d41 (diff)
* vm_dump.c (control_frame_dump): capitalize prefix of `ep'
if `ep' points an env object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--vm_dump.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8262f76206..50ab9e928b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 4 12:44:13 2013 Koichi Sasada <ko1@atdot.net>
+
+ * vm_dump.c (control_frame_dump): capitalize prefix of `ep'
+ if `ep' points an env object.
+
Mon Feb 4 04:20:00 2013 Zachary Scott <zachary@zacharyscott.net>
* lib/English.rb: Add English module for RDoc to parse, then
diff --git a/vm_dump.c b/vm_dump.c
index 930c7b799a..04d9610aa9 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -117,7 +117,7 @@ control_frame_dump(rb_thread_t *th, rb_control_frame_t *cfp)
fprintf(stderr, "p:%04"PRIdPTRDIFF" ", pc);
}
fprintf(stderr, "s:%04"PRIdPTRDIFF" ", cfp->sp - th->stack);
- fprintf(stderr, ep_in_heap == ' ' ? "e:%06"PRIdPTRDIFF" " : "e:%06"PRIxPTRDIFF" ", ep % 10000);
+ fprintf(stderr, ep_in_heap == ' ' ? "e:%06"PRIdPTRDIFF" " : "E:%06"PRIxPTRDIFF" ", ep % 10000);
fprintf(stderr, "%-6s", magic);
if (line) {
fprintf(stderr, " %s", posbuf);