When calling debugger(), it will now (temporarily) dump a message to serial output

as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17760 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-06-07 15:11:39 +00:00
parent 36e6f6a19b
commit 2da9a41214

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Copyright 2002-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
@ -58,6 +58,7 @@ static const debug_string_entry sDebugExceptionTypeStrings[] = {
void
debugger(const char *message)
{
debug_printf("%ld: DEBUGGER: %s\n", find_thread(NULL), message);
_kern_debugger(message);
}