mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.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
This commit is contained in:
parent
a0b6e36609
commit
bd4a419d3e
1 changed files with 1 additions and 1 deletions
2
.gdbinit
2
.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
|
||||
|
||||
|
|
Loading…
Reference in a new issue