diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-17 04:44:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-17 04:44:12 +0000 |
commit | bd4a419d3e41d275666f40044783ec4bf8705370 (patch) | |
tree | 247bff4945749bcc7cdb9cf0a639a58cdd8d4ed2 | |
parent | a0b6e366093a25f05d7463b405d663f74077d517 (diff) |
.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
-rw-r--r-- | .gdbinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |