Added stupid version of parse_expression() for the kernel debugger.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7839 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1c1b60af69
commit
e08f7c4e6f
@ -3,9 +3,7 @@
|
||||
/*
|
||||
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
|
||||
/*
|
||||
**
|
||||
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
|
||||
** Distributed under the terms of the NewOS License.
|
||||
*/
|
||||
@ -447,6 +445,13 @@ remove_debugger_command(char * name, int (*func)(int, char **))
|
||||
}
|
||||
|
||||
|
||||
uint32
|
||||
parse_expression(const char *expression)
|
||||
{
|
||||
return strtoul(expression, NULL, 0);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
panic(const char *fmt, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user