0b11ecb18c
there are prefixed with the respective architecture name. Useful for remote debugging a different architecture. * <x86/arch_debugger.h>: Introduced a structure for the FPU state, so that it isn't left to the debugger. * Removed the _kern_get_thread_cpu_state() syscall. Was originally intended for bdb compatiblity, but isn't really needed. * Kernel x86 arch_get_debug_cpu_state(): The use of fnsave was broken, since it reinits the FPU after saving the state. This resulted in weird results when debugging functions using the FPU. We now use fxsave, if available. Otherwise fnsave + frstor should be used -- not fully implemented yet. Same for arch_set_debug_cpu_state(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31682 a95241bf-73f2-0310-859d-f6bbb57e9c96
15 lines
261 B
C
15 lines
261 B
C
/*
|
|
* Copyright 2005-2009, Haiku Inc.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _ARCH_PPC_DEBUGGER_H
|
|
#define _ARCH_PPC_DEBUGGER_H
|
|
|
|
|
|
struct ppc_debug_cpu_state {
|
|
uint32 dummy;
|
|
} __attribute__((aligned(8)));
|
|
|
|
|
|
#endif // _ARCH_PPC_DEBUGGER_H
|