File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,13 @@ size_t _kernel_openocd_offsets[] = {
54
54
[OPENOCD_OFFSET_T_STACK_PTR ] = offsetof(struct k_thread ,
55
55
callee_saved .sp ),
56
56
#elif defined(CONFIG_X86 )
57
+ #if defined(CONFIG_X86_64 )
58
+ [OPENOCD_OFFSET_T_STACK_PTR ] = offsetof(struct k_thread ,
59
+ callee_saved .rsp ),
60
+ #else
57
61
[OPENOCD_OFFSET_T_STACK_PTR ] = offsetof(struct k_thread ,
58
62
callee_saved .esp ),
63
+ #endif
59
64
#elif defined(CONFIG_NIOS2 )
60
65
[OPENOCD_OFFSET_T_STACK_PTR ] = offsetof(struct k_thread ,
61
66
callee_saved .sp ),
@@ -78,8 +83,12 @@ size_t _kernel_openocd_offsets[] = {
78
83
preempt_float ),
79
84
[OPENOCD_OFFSET_T_COOP_FLOAT ] = OPENOCD_UNIMPLEMENTED ,
80
85
#elif defined(CONFIG_FLOAT ) && defined(CONFIG_X86 )
86
+ #if defined(CONFIG_X86_64 )
87
+ [OPENOCD_OFFSET_T_PREEMPT_FLOAT ] = offsetof(struct _thread_arch , sse ),
88
+ #else
81
89
[OPENOCD_OFFSET_T_PREEMPT_FLOAT ] = offsetof(struct _thread_arch ,
82
90
preempFloatReg ),
91
+ #endif
83
92
[OPENOCD_OFFSET_T_COOP_FLOAT ] = OPENOCD_UNIMPLEMENTED ,
84
93
#else
85
94
[OPENOCD_OFFSET_T_PREEMPT_FLOAT ] = OPENOCD_UNIMPLEMENTED ,
You can’t perform that action at this time.
0 commit comments