(gdb) p ((VrfEntry *) 0x7f36182c1260)->refcount_ $3 = (tbb::atomic) 2
(gdb) p (DBEntry *) 0x7f363020a580 $4 = (CompositeNH *) 0x7f363020a570 (gdb) p (DBEntry *) 0x7f361427e210 $5 = (CompositeNH *) 0x7f361427e200 (gdb) p *$4 $6 = (CompositeNH) { <NextHop> = { <AgentRefCount<NextHop>> = { _vptr.AgentRefCount = 0x108ee90 <vtable for CompositeNH+16>, refcount_ = (tbb::atomic) 1 }, <AgentDBEntry> = { <DBEntry> = { <DBEntryBase> = { _vptr.DBEntryBase = 0x108ef18 <vtable for CompositeNH+152>, chg_list_ = <boost::intrusive_hook> next = 0x0 prev = 0x0, tpart_ = 0x7f36380152d0, state_ = std::map with 3 elements = { [0] = 0x7f36300c1830, [1] = 0x7f363021ce90, [2] = 0x7f3630104010 }, flags = 0 '\000', onremoveq_ = (tbb::atomic) false, last_change_at_ = 1462040507773241 }, members of DBEntry: node_ = <boost::intrusive_hook> parent = 0x7f36340d5c10 left = 0x7f3610191570 right = 0x7f361c102090 }, members of AgentDBEntry: flags_ = 0 '\000' }, members of NextHop: static kInvalidIndex = 4294967295, type_ = NextHop::COMPOSITE, valid_ = true, policy_ = false, id_ = 883 }, members of CompositeNH: static kInvalidComponentNHIdx = 4294967295, composite_nh_type_ = Composite::L2COMP, component_nh_key_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNHKey const>) (count 2, weak count 1) 0x7f36301bc400}, component_nh_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNH const>) (count 1, weak count 1) 0x7f36301fc9b0}, vrf_ = (boost::intrusive_ptr<VrfEntry>) 0x7f36182c1260 } (gdb) p *$5 $7 = (CompositeNH) { <NextHop> = { <AgentRefCount<NextHop>> = { _vptr.AgentRefCount = 0x108ee90 <vtable for CompositeNH+16>, refcount_ = (tbb::atomic) 1 }, <AgentDBEntry> = { <DBEntry> = { <DBEntryBase> = { _vptr.DBEntryBase = 0x108ef18 <vtable for CompositeNH+152>, chg_list_ = <boost::intrusive_hook> next = 0x0 prev = 0x0, tpart_ = 0x7f36380152d0, state_ = std::map with 3 elements = { [0] = 0x7f36141a07b0, [1] = 0x7f36142cfbd0, [2] = 0x7f361403b2f0 }, flags = 0 '\000', onremoveq_ = (tbb::atomic) false, last_change_at_ = 1462040507472091 }, members of DBEntry: node_ = <boost::intrusive_hook> parent = 0x7f36303442e0 left = 0x7f36142c8be0 right = 0x7f36402a0110 }, members of AgentDBEntry: flags_ = 0 '\000' }, members of NextHop: static kInvalidIndex = 4294967295, type_ = NextHop::COMPOSITE, valid_ = true, policy_ = false, id_ = 884 }, members of CompositeNH: static kInvalidComponentNHIdx = 4294967295, composite_nh_type_ = Composite::EVPN, component_nh_key_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNHKey const>) (count 3, weak count 1) 0x7f36141ded80}, component_nh_list_ = std::vector of length 1, capacity 1 = {(boost::shared_ptr<ComponentNH const>) (count 1, weak count 1) 0x7f3614083120}, vrf_ = (boost::intrusive_ptr<VrfEntry>) 0x7f36182c1260 }
(gdb) p ((VrfEntry *) 0x7f36182c1260) ->refcount_
$3 = (tbb::atomic) 2
(gdb) p (DBEntry *) 0x7f363020a580 unt<NextHop> > = { vptr.AgentRefCo unt = 0x108ee90 <vtable for CompositeNH+16>,
<DBEntryBase> = {
_vptr. DBEntryBase = 0x108ef18 <vtable for CompositeNH+152>, :intrusive_ hook> next = 0x0 prev = 0x0,
onremoveq_ = (tbb::atomic) false,
last_ change_ at_ = 1462040507773241 :intrusive_ hook> parent = 0x7f36340d5c10 left = 0x7f3610191570 right = 0x7f361c102090 ntNHIdx = 4294967295, nh_type_ = Composite::L2COMP, nh_key_ list_ = std::vector of length 1, capacity 1 = {(boost: :shared_ ptr<ComponentNH Key const>) (count 2, weak count 1) 0x7f36301bc400}, nh_list_ = std::vector of length 1, capacity 1 = {(boost: :shared_ ptr<ComponentNH const>) (count 1, weak count 1) 0x7f36301fc9b0}, :intrusive_ ptr<VrfEntry> ) 0x7f36182c1260 unt<NextHop> > = { vptr.AgentRefCo unt = 0x108ee90 <vtable for CompositeNH+16>,
<DBEntryBase> = {
_vptr. DBEntryBase = 0x108ef18 <vtable for CompositeNH+152>, :intrusive_ hook> next = 0x0 prev = 0x0,
onremoveq_ = (tbb::atomic) false,
last_ change_ at_ = 1462040507472091 :intrusive_ hook> parent = 0x7f36303442e0 left = 0x7f36142c8be0 right = 0x7f36402a0110 ntNHIdx = 4294967295, nh_type_ = Composite::EVPN, nh_key_ list_ = std::vector of length 1, capacity 1 = {(boost: :shared_ ptr<ComponentNH Key const>) (count 3, weak count 1) 0x7f36141ded80}, nh_list_ = std::vector of length 1, capacity 1 = {(boost: :shared_ ptr<ComponentNH const>) (count 1, weak count 1) 0x7f3614083120}, :intrusive_ ptr<VrfEntry> ) 0x7f36182c1260
$4 = (CompositeNH *) 0x7f363020a570
(gdb) p (DBEntry *) 0x7f361427e210
$5 = (CompositeNH *) 0x7f361427e200
(gdb) p *$4
$6 = (CompositeNH) {
<NextHop> = {
<AgentRefCo
_
refcount_ = (tbb::atomic) 1
},
<AgentDBEntry> = {
<DBEntry> = {
chg_list_ = <boost:
tpart_ = 0x7f36380152d0,
state_ = std::map with 3 elements = {
[0] = 0x7f36300c1830,
[1] = 0x7f363021ce90,
[2] = 0x7f3630104010
},
flags = 0 '\000',
},
members of DBEntry:
node_ = <boost:
},
members of AgentDBEntry:
flags_ = 0 '\000'
},
members of NextHop:
static kInvalidIndex = 4294967295,
type_ = NextHop::COMPOSITE,
valid_ = true,
policy_ = false,
id_ = 883
},
members of CompositeNH:
static kInvalidCompone
composite_
component_
component_
vrf_ = (boost:
}
(gdb) p *$5
$7 = (CompositeNH) {
<NextHop> = {
<AgentRefCo
_
refcount_ = (tbb::atomic) 1
},
<AgentDBEntry> = {
<DBEntry> = {
chg_list_ = <boost:
tpart_ = 0x7f36380152d0,
state_ = std::map with 3 elements = {
[0] = 0x7f36141a07b0,
[1] = 0x7f36142cfbd0,
[2] = 0x7f361403b2f0
},
flags = 0 '\000',
},
members of DBEntry:
node_ = <boost:
},
members of AgentDBEntry:
flags_ = 0 '\000'
},
members of NextHop:
static kInvalidIndex = 4294967295,
type_ = NextHop::COMPOSITE,
valid_ = true,
policy_ = false,
id_ = 884
},
members of CompositeNH:
static kInvalidCompone
composite_
component_
component_
vrf_ = (boost:
}