https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3acbec4851c99911b6574…
commit 3acbec4851c99911b65741a3fe191bb9d066cf9a
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Fri Nov 6 09:38:17 2020 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Mon Nov 9 10:47:05 2020 +0100
[KDGDB] Always use kernel stack to get stack frame
---
drivers/base/kdgdb/i386_sup.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/base/kdgdb/i386_sup.c b/drivers/base/kdgdb/i386_sup.c
index 0a357a149f0..82492d415a3 100644
--- a/drivers/base/kdgdb/i386_sup.c
+++ b/drivers/base/kdgdb/i386_sup.c
@@ -100,6 +100,7 @@ thread_to_reg(PETHREAD Thread, enum reg_name reg_name, unsigned short*
size)
return NULL;
}
}
+#if 0
else if (Thread->Tcb.TrapFrame)
{
PKTRAP_FRAME TrapFrame = Thread->Tcb.TrapFrame;
@@ -128,6 +129,7 @@ thread_to_reg(PETHREAD Thread, enum reg_name reg_name, unsigned short*
size)
KDDBGPRINT("Unhandled regname: %d.\n", reg_name);
}
}
+#endif
else
{
static PULONG Esp;
@@ -213,7 +215,7 @@ gdb_send_registers(void)
}
}
}
-
+
return finish_gdb_packet();
}