Slightly improved debug output.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15652 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-12-22 00:47:37 +00:00
parent f31dc4dd08
commit 7a3e1b6979

View File

@ -1907,14 +1907,14 @@ dump_area_list(int argc, char **argv)
if (argc > 1)
id = strtoul(argv[1], NULL, 0);
kprintf("addr id base\t\tsize\t\tprotect\tlock\tname\n");
kprintf("addr id base\t\tsize protect lock name\n");
hash_open(sAreaHash, &iter);
while ((area = (vm_area *)hash_next(sAreaHash, &iter)) != NULL) {
if (id != -1 && area->address_space->id != id)
continue;
kprintf("%p %5lx %p\t%p\t%ld\t%d\t%s\n", area, area->id, (void *)area->base,
kprintf("%p %5lx %p\t%p %4lx\t%4d %s\n", area, area->id, (void *)area->base,
(void *)area->size, area->protection, area->wiring, area->name);
}
hash_close(sAreaHash, &iter, false);