* dump_socket() now also prints the actual parent again (not just its

WeakPointer).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30003 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-04-07 17:41:46 +00:00
parent 6cf94c8595
commit 42d0ef6fe4

View File

@ -307,7 +307,8 @@ dump_socket(int argc, char** argv)
kprintf("SOCKET %p\n", socket); kprintf("SOCKET %p\n", socket);
kprintf(" family.type.protocol: %d.%d.%d\n", kprintf(" family.type.protocol: %d.%d.%d\n",
socket->family, socket->type, socket->protocol); socket->family, socket->type, socket->protocol);
kprintf(" parent: %p\n", socket->parent); WeakReference<net_socket_private> parent = socket->parent;
kprintf(" parent: %p (%p)\n", parent.Get(), socket->parent);
kprintf(" first protocol: %p\n", socket->first_protocol); kprintf(" first protocol: %p\n", socket->first_protocol);
kprintf(" first module_info: %p\n", socket->first_info); kprintf(" first module_info: %p\n", socket->first_info);
kprintf(" options: %x\n", socket->options); kprintf(" options: %x\n", socket->options);