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

* 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
This commit is contained in:
nobu 2008-05-25 22:16:04 +00:00
parent ac6ce30aec
commit 701890adfc
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon May 26 07:15:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_dump.c (rb_vm_bugreport): rb_make_backtrace has no arguments.
Mon May 26 01:17:54 2008 Tanaka Akira <akr@fsij.org>
* test/ruby/envutil.rb (assert_normal_exit): signal description

View file

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