ruby-changes:46650
From: nobu <ko1@a...>
Date: Wed, 17 May 2017 13:44:18 +0900 (JST)
Subject: [ruby-changes:46650] nobu:r58766 (trunk): .gdbinit: fix nd_tree
nobu 2017-05-17 13:44:12 +0900 (Wed, 17 May 2017) New Revision: 58766 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58766 Log: .gdbinit: fix nd_tree * .gdbinit (nd_tree): use rb_str_tmp_new to get rid of `__extension__'. Modified files: trunk/.gdbinit Index: .gdbinit =================================================================== --- .gdbinit (revision 58765) +++ .gdbinit (revision 58766) @@ -861,7 +861,7 @@ end https://github.com/ruby/ruby/blob/trunk/.gdbinit#L861 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/