arch_debug.c -> arch_debug.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15882 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,7 +9,7 @@ KernelStaticLibrary libppc :
|
|||||||
arch_cpu.cpp
|
arch_cpu.cpp
|
||||||
arch_cpu_asm.S
|
arch_cpu_asm.S
|
||||||
arch_debug_console.cpp
|
arch_debug_console.cpp
|
||||||
arch_debug.c
|
arch_debug.cpp
|
||||||
arch_elf.c
|
arch_elf.c
|
||||||
arch_exceptions.S
|
arch_exceptions.S
|
||||||
arch_int.cpp
|
arch_int.cpp
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2003-2005, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <kernel.h>
|
||||||
|
#include <debug.h>
|
||||||
|
#include <arch/debug.h>
|
||||||
|
|
||||||
|
|
||||||
|
// ToDo: put stack trace and disassembly routines here
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
arch_debug_save_registers(int *regs)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void *
|
||||||
|
arch_debug_get_caller(void)
|
||||||
|
{
|
||||||
|
// TODO: imeplement me
|
||||||
|
return (void *)&arch_debug_get_caller;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
status_t
|
||||||
|
arch_debug_init(kernel_args *args)
|
||||||
|
{
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user