提交 95dbf1db 编写于 作者: J Jason Wessel

kgdb, x86_64: gdb serial has BX and DX reversed

The BX and DX registers in the gdb serial register packet need to be
flipped for gdb to receive the correct data.
Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
上级 d7161a65
...@@ -42,9 +42,9 @@ enum regnames { ...@@ -42,9 +42,9 @@ enum regnames {
#else /* ! CONFIG_X86_32 */ #else /* ! CONFIG_X86_32 */
enum regnames { enum regnames {
GDB_AX, /* 0 */ GDB_AX, /* 0 */
GDB_DX, /* 1 */ GDB_BX, /* 1 */
GDB_CX, /* 2 */ GDB_CX, /* 2 */
GDB_BX, /* 3 */ GDB_DX, /* 3 */
GDB_SI, /* 4 */ GDB_SI, /* 4 */
GDB_DI, /* 5 */ GDB_DI, /* 5 */
GDB_BP, /* 6 */ GDB_BP, /* 6 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册