The "page" and the "cache" kernel debugger commands set a few temporary

variables, now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35903 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-03-18 16:18:16 +00:00
parent 2d2b6b1f1a
commit d80af65fd8
2 changed files with 7 additions and 0 deletions

View File

@ -2795,6 +2795,8 @@ dump_cache(int argc, char** argv)
} else
kprintf("\t%ld in cache\n", cache->page_count);
set_debug_variable("_sourceCache", (addr_t)cache->source);
return 0;
}

View File

@ -740,6 +740,11 @@ dump_page(int argc, char **argv)
}
}
set_debug_variable("_cache", (addr_t)page->Cache());
#if DEBUG_PAGE_ACCESS
set_debug_variable("_accessor", page->accessing_thread);
#endif
return 0;
}