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

ruby-changes:32081

From: nobu <ko1@a...>
Date: Fri, 13 Dec 2013 10:36:36 +0900 (JST)
Subject: [ruby-changes:32081] nobu:r44160 (trunk): .gdbinit: initialize

nobu	2013-12-13 10:36:29 +0900 (Fri, 13 Dec 2013)

  New Revision: 44160

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44160

  Log:
    .gdbinit: initialize
    
    * .gdbinit (ruby_gdb_init): initialize enums.
    
    * .gdbinit (rb_id2name): initialize debug info too.

  Modified files:
    trunk/.gdbinit
Index: .gdbinit
===================================================================
--- .gdbinit	(revision 44159)
+++ .gdbinit	(revision 44160)
@@ -14,14 +14,14 @@ define ruby_gdb_init https://github.com/ruby/ruby/blob/trunk/.gdbinit#L14
   if !$color_end
     set $color_end = "\033[m"
   end
+  if ruby_dummy_gdb_enums.special_consts
+  end
 end
 
 # set prompt \033[36m(gdb)\033[m\040
 
 define rp
   ruby_gdb_init
-  if ruby_dummy_gdb_enums.special_consts
-  end
   if (VALUE)($arg0) & RUBY_FIXNUM_FLAG
     printf "FIXNUM: %ld\n", (long)($arg0) >> 1
   else
@@ -745,6 +745,7 @@ define rb_numtable_entry https://github.com/ruby/ruby/blob/trunk/.gdbinit#L745
 end
 
 define rb_id2name
+  ruby_gdb_init
   printf "%sID%s: ", $color_type, $color_end
   rp_id $arg0
 end

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

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