ruby-changes:48719
From: ktsj <ko1@a...>
Date: Sat, 18 Nov 2017 15:24:57 +0900 (JST)
Subject: [ruby-changes:48719] ktsj:r60835 (trunk): .gdbinit: fix print_pathobj
ktsj 2017-11-18 15:24:52 +0900 (Sat, 18 Nov 2017) New Revision: 60835 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60835 Log: .gdbinit: fix print_pathobj $str is not C string but RString. Modified files: trunk/.gdbinit Index: .gdbinit =================================================================== --- .gdbinit (revision 60834) +++ .gdbinit (revision 60835) @@ -1110,7 +1110,7 @@ define print_pathobj https://github.com/ruby/ruby/blob/trunk/.gdbinit#L1110 else set $str = ((struct RArray*)($arg0))->as.heap.ptr[0] end - printf "%s", $str + print_string $str end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/