1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2013-02-04 03:46:12 +00:00
parent 9e5167c351
commit 4cb4c929df
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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);