haiku/headers/os/arch/sparc/arch_debugger.h
PulkoMandy 8ff82ee2d4 sparc: fix debug support
Declare and use the correct registers to define a stack frame.

Change-Id: Ice3ba8f8715313a715f6b1cb553a6883541f5cc4
Reviewed-on: https://review.haiku-os.org/c/1327
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2019-03-30 15:23:15 +00:00

17 lines
296 B
C

/*
* Copyright 2005-2019, Haiku Inc.
* Distributed under the terms of the MIT License.
*/
#ifndef _ARCH_SPARC_DEBUGGER_H
#define _ARCH_SPARC_DEBUGGER_H
struct sparc_debug_cpu_state {
uint64 pc;
uint64 i6; // frame pointer
} __attribute__((aligned(8)));
#endif // _ARCH_SPARC_DEBUGGER_H