Made safe to be included from assembly code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27212 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,15 +5,17 @@
|
|||||||
#ifndef KERNEL_ARCH_USER_DEBUGGER_H
|
#ifndef KERNEL_ARCH_USER_DEBUGGER_H
|
||||||
#define 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 <debugger.h>
|
#include <debugger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable this to get support for kernel breakpoints.
|
|
||||||
//#define KERNEL_BREAKPOINTS 1
|
|
||||||
|
|
||||||
struct arch_team_debug_info;
|
struct arch_team_debug_info;
|
||||||
struct arch_thread_debug_info;
|
struct arch_thread_debug_info;
|
||||||
|
|
||||||
@@ -46,4 +48,6 @@ status_t arch_clear_kernel_watchpoint(void *address);
|
|||||||
|
|
||||||
#include <arch_user_debugger.h>
|
#include <arch_user_debugger.h>
|
||||||
|
|
||||||
|
#endif // _ASSEMBLER
|
||||||
|
|
||||||
#endif // KERNEL_ARCH_USER_DEBUGGER_H
|
#endif // KERNEL_ARCH_USER_DEBUGGER_H
|
||||||
|
|||||||
Reference in New Issue
Block a user