From 1faf0c16fa76b19698f2203b8919e2d8f2305215 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 24 Feb 2005 15:33:12 +0000 Subject: [PATCH] x86 architecture specific debugger definitions. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11467 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/arch/x86/arch_debugger.h | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 headers/os/arch/x86/arch_debugger.h diff --git a/headers/os/arch/x86/arch_debugger.h b/headers/os/arch/x86/arch_debugger.h new file mode 100644 index 0000000000..0cc1a84f0f --- /dev/null +++ b/headers/os/arch/x86/arch_debugger.h @@ -0,0 +1,32 @@ +/* + * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. + * Distributed under the terms of the MIT License. + */ +#ifndef _ARCH_X86_DEBUGGER_H +#define _ARCH_X86_DEBUGGER_H + +struct debug_cpu_state { + uint32 gs; + uint32 fs; + uint32 es; + uint32 ds; + uint32 edi; + uint32 esi; + uint32 ebp; + uint32 esp; + uint32 ebx; + uint32 edx; + uint32 ecx; + uint32 eax; + uint32 orig_eax; + uint32 orig_edx; + uint32 vector; + uint32 error_code; + uint32 eip; + uint32 cs; + uint32 flags; + uint32 user_esp; + uint32 user_ss; +}; + +#endif // _ARCH_X86_DEBUGGER_H