diff --git a/src/kernel/core/debug.c b/src/kernel/core/debug.c index 24dcd24bb8..da7150247b 100644 --- a/src/kernel/core/debug.c +++ b/src/kernel/core/debug.c @@ -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, ...) {