From bb8446205f297e31c04a3aef9bd92075bba6bfb5 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 13 Apr 2012 02:51:40 +0000 Subject: [PATCH] * gc.c (obj_free): show entire flags too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index f5711459d8..a5ada1c1dc 100644 --- a/gc.c +++ b/gc.c @@ -2594,8 +2594,8 @@ obj_free(rb_objspace_t *objspace, VALUE obj) break; default: - rb_bug("gc_sweep(): unknown data type 0x%x(%p)", - BUILTIN_TYPE(obj), (void*)obj); + rb_bug("gc_sweep(): unknown data type 0x%x(%p) 0x%"PRIxVALUE, + BUILTIN_TYPE(obj), (void*)obj, RBASIC(obj)->flags); } return 0;