From bd4a419d3e41d275666f40044783ec4bf8705370 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 17 May 2017 04:44:12 +0000 Subject: .gdbinit: fix nd_tree * .gdbinit (nd_tree): use rb_str_tmp_new to get rid of `__extension__'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- .gdbinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gdbinit') diff --git a/.gdbinit b/.gdbinit index 4a544f08ee..b4db0714e7 100644 --- a/.gdbinit +++ b/.gdbinit @@ -861,7 +861,7 @@ end define nd_tree set $buf = (struct RString *)rb_str_buf_new(0) - call dump_node((VALUE)($buf), rb_str_new(0, 0), 0, ($arg0)) + call dump_node((VALUE)($buf), rb_str_tmp_new(0), 0, ($arg0)) printf "%s\n", $buf->as.heap.ptr end -- cgit v1.2.3