summaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-08 00:23:14 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-08 00:23:14 +0000
commit7942cb939f8f698d1cd1b7966c5db1e351ea8dd9 (patch)
treeec395914e069f04d77a08f9af7fb8bbc229227e0 /vm_dump.c
parentdcb2287f15cab53b42fa498f6227346806a84eab (diff)
downloadruby-7942cb939f8f698d1cd1b7966c5db1e351ea8dd9.tar.gz
ruby-7942cb939f8f698d1cd1b7966c5db1e351ea8dd9.tar.xz
ruby-7942cb939f8f698d1cd1b7966c5db1e351ea8dd9.zip
* compile.c: iseq_compile -> rb_iseq_compile.
* iseq.c: ditto. * intern.h: provide function prototype of Init_jump. * eval_jump.h (Init_jump): declare function type. * thread.c: platform-dependent functions should be surrounded by #ifdef. * iseq.c (iseq_data_to_ary): remove unused variable. * compile.c (set_arguments): ditto. * thread.c (set_unblock_function): ditto. * thread_pthread.ci: reduce printf warning. * vm_dump.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 8bb016bf9..b7583373a 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -122,7 +122,7 @@ control_frame_dump(rb_thread_t *th, rb_control_frame_t *cfp)
else {
fprintf(stderr, "p:%04d ", pc);
}
- fprintf(stderr, "s:%04ld b:%04d ", cfp->sp - th->stack, bp);
+ fprintf(stderr, "s:%04d b:%04d ", cfp->sp - th->stack, bp);
fprintf(stderr, lfp_in_heap == ' ' ? "l:%06d " : "l:%06p ", lfp % 10000);
fprintf(stderr, dfp_in_heap == ' ' ? "d:%06d " : "d:%06p ", dfp % 10000);
fprintf(stderr, "%-6s ", magic);