* 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:
Axel Dörfler 2008-03-26 14:38:35 +00:00
parent 25ce50e1b9
commit 3bb1e6c264

View File

@ -948,6 +948,10 @@ dump_cache(int argc, char **argv)
block->previous_transaction, block->previous_transaction,
block->previous_transaction->id); 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 } else
kprintf("block %Ld not found\n", blockNumber); kprintf("block %Ld not found\n", blockNumber);
return 0; return 0;