diff --git a/src/system/kernel/arch/ppc/Jamfile b/src/system/kernel/arch/ppc/Jamfile index ccb46f61f7..6d9abf47f9 100644 --- a/src/system/kernel/arch/ppc/Jamfile +++ b/src/system/kernel/arch/ppc/Jamfile @@ -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 diff --git a/src/system/kernel/arch/ppc/arch_debug.cpp b/src/system/kernel/arch/ppc/arch_debug.cpp new file mode 100644 index 0000000000..8f81866b28 --- /dev/null +++ b/src/system/kernel/arch/ppc/arch_debug.cpp @@ -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 +#include +#include + + +// 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; +} + +