Unbroke the debug build (also in user mode).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6293 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -260,6 +260,7 @@ dump_bplustree_node(bplustree_node *node,bplustree_header *header,Volume *volume
|
|||||||
// #pragma mark -
|
// #pragma mark -
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef USER
|
||||||
//#warn Don't mount more than once... would register twice the debugger commands!
|
//#warn Don't mount more than once... would register twice the debugger commands!
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@@ -276,17 +277,22 @@ dbg_inode(int argc, char **argv)
|
|||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
unregister_debugger_commands()
|
remove_debugger_commands()
|
||||||
{
|
{
|
||||||
|
#ifndef USER
|
||||||
remove_debugger_command("obfsinode", dbg_inode);
|
remove_debugger_command("obfsinode", dbg_inode);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
register_debugger_commands()
|
add_debugger_commands()
|
||||||
{
|
{
|
||||||
|
#ifndef USER
|
||||||
add_debugger_command("obfsinode", dbg_inode, "dump an Inode object");
|
add_debugger_command("obfsinode", dbg_inode, "dump an Inode object");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user