summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-25 22:16:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-25 22:16:04 +0000
commit701890adfc4f64dd369c82b8cee46df6cdd23074 (patch)
tree4b8a9627d1746a9778459bfee770087eebb5d337 /vm_dump.c
parentac6ce30aec2971e7a12e839fe67f7035ddb95be2 (diff)
* vm_dump.c (rb_vm_bugreport): rb_make_backtrace has no arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 5221b44..38b8f25 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -571,6 +571,8 @@ thread_dump_state(VALUE self)
return Qnil;
}
+VALUE rb_make_backtrace(void);
+
void
rb_vm_bugreport(void)
{
@@ -581,7 +583,7 @@ rb_vm_bugreport(void)
int i;
SDR();
- bt = rb_make_backtrace(th, 0);
+ bt = rb_make_backtrace();
if (TYPE(bt) == T_ARRAY)
for (i = 0; i < RARRAY_LEN(bt); i++) {
dp(RARRAY_PTR(bt)[i]);