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:
Ingo Weinhold 2006-01-09 03:38:09 +00:00
parent 7176dd57e5
commit 48fe700d70
2 changed files with 36 additions and 1 deletions

View File

@ -9,7 +9,7 @@ KernelStaticLibrary libppc :
arch_cpu.cpp
arch_cpu_asm.S
arch_debug_console.cpp
arch_debug.c
arch_debug.cpp
arch_elf.c
arch_exceptions.S
arch_int.cpp

View File

@ -0,0 +1,35 @@
/*
* Copyright 2003-2005, Axel Dörfler, axeld@pinc-software.de. 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;
}