From 0490454cb8d7aa60633930e6cab414c4d9ed9dc9 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 27 Aug 2008 12:50:56 +0000 Subject: [PATCH] Made safe to be included from assembly code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27212 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/user_debugger.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/headers/private/kernel/arch/user_debugger.h b/headers/private/kernel/arch/user_debugger.h index f7b455364a..034c01347f 100644 --- a/headers/private/kernel/arch/user_debugger.h +++ b/headers/private/kernel/arch/user_debugger.h @@ -5,15 +5,17 @@ #ifndef KERNEL_ARCH_USER_DEBUGGER_H #define KERNEL_ARCH_USER_DEBUGGER_H +// Enable this to get support for kernel breakpoints. +//#define KERNEL_BREAKPOINTS 1 + +#ifndef _ASSEMBLER + #include #ifdef __cplusplus extern "C" { #endif -// Enable this to get support for kernel breakpoints. -//#define KERNEL_BREAKPOINTS 1 - struct arch_team_debug_info; struct arch_thread_debug_info; @@ -46,4 +48,6 @@ status_t arch_clear_kernel_watchpoint(void *address); #include +#endif // _ASSEMBLER + #endif // KERNEL_ARCH_USER_DEBUGGER_H