From 48fe700d70dddc38f291287a220926eea0ad8178 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 9 Jan 2006 03:38:09 +0000 Subject: [PATCH] arch_debug.c -> arch_debug.cpp git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15882 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/ppc/Jamfile | 2 +- src/system/kernel/arch/ppc/arch_debug.cpp | 35 +++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 src/system/kernel/arch/ppc/arch_debug.cpp 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; +} + +