1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

.gdbinit: fix print_pathobj

$str is not C string but RString.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2017-11-18 06:24:52 +00:00
parent f3a892429d
commit 389c80cec1

View file

@ -1110,7 +1110,7 @@ define print_pathobj
else
set $str = ((struct RArray*)($arg0))->as.heap.ptr[0]
end
printf "%s", $str
print_string $str
end
end