1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

.gdbinit: expand RBASIC macro for old gdb on mac

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-06-14 03:18:10 +00:00
parent 12a829ab50
commit 891d00b492

View file

@ -1309,32 +1309,32 @@ define dump_node
end
define print_flags
printf "RUBY_FL_WB_PROTECTED: %s\n", RBASIC($arg0)->flags & RUBY_FL_WB_PROTECTED ? "1" : "0"
printf "RUBY_FL_PROMOTED0 : %s\n", RBASIC($arg0)->flags & RUBY_FL_PROMOTED0 ? "1" : "0"
printf "RUBY_FL_PROMOTED1 : %s\n", RBASIC($arg0)->flags & RUBY_FL_PROMOTED1 ? "1" : "0"
printf "RUBY_FL_FINALIZE : %s\n", RBASIC($arg0)->flags & RUBY_FL_FINALIZE ? "1" : "0"
printf "RUBY_FL_TAINT : %s\n", RBASIC($arg0)->flags & RUBY_FL_TAINT ? "1" : "0"
printf "RUBY_FL_UNTRUSTED : %s\n", RBASIC($arg0)->flags & RUBY_FL_UNTRUSTED ? "1" : "0"
printf "RUBY_FL_EXIVAR : %s\n", RBASIC($arg0)->flags & RUBY_FL_EXIVAR ? "1" : "0"
printf "RUBY_FL_FREEZE : %s\n", RBASIC($arg0)->flags & RUBY_FL_FREEZE ? "1" : "0"
printf "RUBY_FL_WB_PROTECTED: %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_WB_PROTECTED ? "1" : "0"
printf "RUBY_FL_PROMOTED0 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_PROMOTED0 ? "1" : "0"
printf "RUBY_FL_PROMOTED1 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_PROMOTED1 ? "1" : "0"
printf "RUBY_FL_FINALIZE : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_FINALIZE ? "1" : "0"
printf "RUBY_FL_TAINT : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_TAINT ? "1" : "0"
printf "RUBY_FL_UNTRUSTED : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_UNTRUSTED ? "1" : "0"
printf "RUBY_FL_EXIVAR : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_EXIVAR ? "1" : "0"
printf "RUBY_FL_FREEZE : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_FREEZE ? "1" : "0"
printf "RUBY_FL_USER0 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER0 ? "1" : "0"
printf "RUBY_FL_USER1 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER1 ? "1" : "0"
printf "RUBY_FL_USER2 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER2 ? "1" : "0"
printf "RUBY_FL_USER3 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER3 ? "1" : "0"
printf "RUBY_FL_USER4 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER4 ? "1" : "0"
printf "RUBY_FL_USER5 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER5 ? "1" : "0"
printf "RUBY_FL_USER6 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER6 ? "1" : "0"
printf "RUBY_FL_USER7 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER7 ? "1" : "0"
printf "RUBY_FL_USER8 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER8 ? "1" : "0"
printf "RUBY_FL_USER9 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER9 ? "1" : "0"
printf "RUBY_FL_USER10 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER10 ? "1" : "0"
printf "RUBY_FL_USER11 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER11 ? "1" : "0"
printf "RUBY_FL_USER12 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER12 ? "1" : "0"
printf "RUBY_FL_USER13 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER13 ? "1" : "0"
printf "RUBY_FL_USER14 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER14 ? "1" : "0"
printf "RUBY_FL_USER15 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER15 ? "1" : "0"
printf "RUBY_FL_USER16 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER16 ? "1" : "0"
printf "RUBY_FL_USER17 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER17 ? "1" : "0"
printf "RUBY_FL_USER18 : %s\n", RBASIC($arg0)->flags & RUBY_FL_USER18 ? "1" : "0"
printf "RUBY_FL_USER0 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER0 ? "1" : "0"
printf "RUBY_FL_USER1 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER1 ? "1" : "0"
printf "RUBY_FL_USER2 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER2 ? "1" : "0"
printf "RUBY_FL_USER3 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER3 ? "1" : "0"
printf "RUBY_FL_USER4 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER4 ? "1" : "0"
printf "RUBY_FL_USER5 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER5 ? "1" : "0"
printf "RUBY_FL_USER6 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER6 ? "1" : "0"
printf "RUBY_FL_USER7 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER7 ? "1" : "0"
printf "RUBY_FL_USER8 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER8 ? "1" : "0"
printf "RUBY_FL_USER9 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER9 ? "1" : "0"
printf "RUBY_FL_USER10 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER10 ? "1" : "0"
printf "RUBY_FL_USER11 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER11 ? "1" : "0"
printf "RUBY_FL_USER12 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER12 ? "1" : "0"
printf "RUBY_FL_USER13 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER13 ? "1" : "0"
printf "RUBY_FL_USER14 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER14 ? "1" : "0"
printf "RUBY_FL_USER15 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER15 ? "1" : "0"
printf "RUBY_FL_USER16 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER16 ? "1" : "0"
printf "RUBY_FL_USER17 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER17 ? "1" : "0"
printf "RUBY_FL_USER18 : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_USER18 ? "1" : "0"
end