summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-13 12:32:06 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-13 12:32:06 +0000
commit968918da16ea89434798d29247e247601a046a9d (patch)
tree19b1f09561547aa7c850414d8fe3e423e9bac4a3 /.gdbinit
parent9595af4ad59f9a8f98941d22619b61206be1a4c2 (diff)
don't show shared and assoc for embed string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit13
1 files changed, 7 insertions, 6 deletions
diff --git a/.gdbinit b/.gdbinit
index 66a4acbbe0..8db7774f9a 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -61,12 +61,13 @@ define rp
(($flags & (RUBY_FL_USER2|RUBY_FL_USER3|RUBY_FL_USER4|RUBY_FL_USER5|RUBY_FL_USER6)) >> RUBY_FL_USHIFT+2)
if !($flags & RUBY_FL_USER1)
printf "(embed) "
- end
- if ($flags & RUBY_FL_USER2)
- printf "(shared) "
- end
- if ($flags & RUBY_FL_USER3)
- printf "(assoc) "
+ else
+ if ($flags & RUBY_FL_USER2)
+ printf "(shared) "
+ end
+ if ($flags & RUBY_FL_USER3)
+ printf "(assoc) "
+ end
end
printf "encoding:%d ", ($flags & (RUBY_FL_USER8|RUBY_FL_USER9|RUBY_FL_USER10|RUBY_FL_USER11)) >> RUBY_ENCODING_SHIFT
if ($flags & (RUBY_FL_USER12|RUBY_FL_USER13)) == 0