Skip to content

Instantly share code, notes, and snippets.

@rue
Created March 27, 2009 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rue/86817 to your computer and use it in GitHub Desktop.
Save rue/86817 to your computer and use it in GitHub Desktop.
(gdb) p *((SendSite*)tup->field[i])
$72 = {
<rubinius::Object> = {
<rubinius::ObjectHeader> = {
{
{
obj_type_ = rubinius::SendSiteType,
zone = rubinius::MatureObjectZone,
age = 0,
Forwarded = 0,
Remember = 0,
Marked = 1,
RequiresCleanup = 0,
RefsAreWeak = 0,
InImmix = 1,
Pinned = 0
},
all_flags = 590381
},
klass_ = 0x136aa68,
ivars_ = 0x1a,
__body__ = 0x2767d3c
},
members of rubinius::Object:
static type = <optimized out>
},
members of rubinius::SendSite:
static type = <optimized out>,
name_ = 0x368e,
sender_ = 0x27acb94,
selector_ = 0x1541568,
method_ = 0x1a,
module_ = 0x1a,
recv_class_ = 0x1a,
method_missing = false,
hits = 0,
misses = 0,
resolver = 0xc38f0 <rubinius::MonomorphicInlineCacheResolver::resolve(rubinius::VM*, rubinius::Message&)>,
performer = 0xc3b48 <rubinius::performer::basic_performer(rubinius::VM*, rubinius::CallFrame*, rubinius::Message&)>
}
(gdb) p ((SendSite*)tup->field[i]).name_
$73 = (class rubinius::Symbol *) 0x368e
(gdb) p __show__(((SendSite*)tup->field[i]).name_)
:collect
$74 = void
(gdb) p __show__(((SendSite*)tup->field[i - 1]).name_)
:collect
$75 = void
(gdb) p __show__(((SendSite*)tup->field[i - 2]).name_)
:collect
$76 = void
(gdb) p __show__(((SendSite*)tup->field[i - 3]).name_)
:collect
$77 = void
(gdb) p __show__(((SendSite*)tup->field[i - 4]).name_)
:collect
$78 = void
(gdb) p __show__(((SendSite*)tup->field[0]).name_)
:collect
$79 = void
(gdb) p __show__(((SendSite*)tup->field[1000]).name_)
:collect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment