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:
Axel Dörfler
2004-06-08 06:24:35 +00:00
parent 1c1b60af69
commit e08f7c4e6f
+8 -3
View File
@@ -3,9 +3,7 @@
/* /*
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved. ** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
** Distributed under the terms of the OpenBeOS License. ** Distributed under the terms of the OpenBeOS License.
*/ **
/*
** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License. ** 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 void
panic(const char *fmt, ...) panic(const char *fmt, ...)
{ {