.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
1 changed files with 1 additions and 1 deletions

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