[前][次][番号順一覧][スレッド一覧]

ruby-changes:45939

From: nobu <ko1@a...>
Date: Sat, 18 Mar 2017 19:20:01 +0900 (JST)
Subject: [ruby-changes:45939] nobu:r58010 (trunk): .gdbinit: RArray in history [ci skip]

nobu	2017-03-18 19:19:52 +0900 (Sat, 18 Mar 2017)

  New Revision: 58010

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58010

  Log:
    .gdbinit: RArray in history [ci skip]
    
    * .gdbinit (rp): put the contents of RArray in value history, for
      later use.

  Modified files:
    trunk/.gdbinit
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 58009)
+++ .gdbinit	(revision 58010)
@@ -124,7 +124,7 @@ define rp https://github.com/ruby/ruby/blob/trunk/.gdbinit#L124
       if ($len == 0)
 	printf "{(empty)} "
       else
-	output/x *((VALUE*)((struct RArray*)($arg0))->as.ary) @ $len
+	print/x *((VALUE*)((struct RArray*)($arg0))->as.ary) @ $len
 	printf " "
       end
     else
@@ -140,7 +140,7 @@ define rp https://github.com/ruby/ruby/blob/trunk/.gdbinit#L140
       if ($len == 0)
 	printf "{(empty)} "
       else
-	output/x *((VALUE*)((struct RArray*)($arg0))->as.heap.ptr) @ $len
+	print/x *((VALUE*)((struct RArray*)($arg0))->as.heap.ptr) @ $len
 	printf " "
       end
     end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]