From 389c80cec1009037fa56f012cc24f0797f5ab5b0 Mon Sep 17 00:00:00 2001 From: ktsj Date: Sat, 18 Nov 2017 06:24:52 +0000 Subject: .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 --- .gdbinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gdbinit') diff --git a/.gdbinit b/.gdbinit index e87963bb58..a188ffa172 100644 --- a/.gdbinit +++ b/.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 -- cgit v1.2.3