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:
parent
f3a892429d
commit
389c80cec1
1 changed files with 1 additions and 1 deletions
2
.gdbinit
2
.gdbinit
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue