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 <[email protected]>
This commit is contained in:
PulkoMandy
2019-03-30 15:23:15 +00:00
committed by waddlesplash
parent 3bfbec8336
commit 8ff82ee2d4
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
struct sparc_debug_cpu_state {
uint32 dummy;
uint64 pc;
uint64 i6; // frame pointer
} __attribute__((aligned(8)));