eclair: fix register GDB response for descheduled threads

Change-Id: I0001d094b624bc03f2b178ec28a4cab51e2acaf0
This commit is contained in:
Balazs Gerofi
2019-12-27 08:45:49 +00:00
parent 72af689e69
commit d1df17ffb7
5 changed files with 89 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ uintptr_t debug_constants[] = {
offsetof(struct cpu_local_var, runq),
offsetof(struct cpu_local_var, status),
offsetof(struct cpu_local_var, idle),
offsetof(struct thread, ctx) + offsetof(struct thread_info, cpu_context),
offsetof(struct thread, ctx),
offsetof(struct thread, sched_list),
offsetof(struct thread, proc),
offsetof(struct thread, status),