summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-01-20 10:26:49 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-01-27 09:30:15 +0900
commit0300dec32b5a25b409dc5dfa59b81f4e39fab501 (patch)
tree797898f48eb8c33ca16e33331407c9e71a4e95d3 /.gdbinit
parent7ccdad7be83b8bd4fcd09a5bf224d33a64fa1d6f (diff)
downloadruby-0300dec32b5a25b409dc5dfa59b81f4e39fab501.tar.gz
kill OBJ_TAINT etc.
Now that RUBY_FL_TAINT is recycled to become new RUBY_FL_SHAREABLE. Setting/clearing this flag from extension libraries break Ractor. Especially problematic one is OBJ_INFECT, which would make non-shareable objects travel across Ractor boundaries. Such operations should just be prohibited.
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gdbinit b/.gdbinit
index 49380951b8..60aa8fb6ac 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1324,8 +1324,7 @@ define print_flags
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_SHAREABLE : %s\n", ((struct RBasic*)($arg0))->flags & RUBY_FL_SHAREABLE ? "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"