* The block_cache KDL command now sets some useful variables.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24589 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
25ce50e1b9
commit
3bb1e6c264
4
src/system/kernel/cache/block_cache.cpp
vendored
4
src/system/kernel/cache/block_cache.cpp
vendored
@ -948,6 +948,10 @@ dump_cache(int argc, char **argv)
|
||||
block->previous_transaction,
|
||||
block->previous_transaction->id);
|
||||
}
|
||||
|
||||
set_debug_variable("_current", (addr_t)block->current_data);
|
||||
set_debug_variable("_original", (addr_t)block->original_data);
|
||||
set_debug_variable("_parent", (addr_t)block->parent_data);
|
||||
} else
|
||||
kprintf("block %Ld not found\n", blockNumber);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user