aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2008-09-26 11:36:42 -0400
committerJason Wessel <jason.wessel@windriver.com>2008-09-26 11:36:42 -0400
commit95dbf1dbe39ed336a3e72116c95cfa98dd3457e6 (patch)
tree47a387fffb1076ce3213b3f44a8147ae875424c3
parentd7161a65341556bacb5e6654e133803f46f51063 (diff)
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: Jason Wessel <jason.wessel@windriver.com>
-rw-r--r--include/asm-x86/kgdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/kgdb.h b/include/asm-x86/kgdb.h
index 484c47554f3b..e86b3060bdcb 100644
--- a/include/asm-x86/kgdb.h
+++ b/include/asm-x86/kgdb.h
@@ -42,9 +42,9 @@ enum regnames {
42#else /* ! CONFIG_X86_32 */ 42#else /* ! CONFIG_X86_32 */
43enum regnames { 43enum regnames {
44 GDB_AX, /* 0 */ 44 GDB_AX, /* 0 */
45 GDB_DX, /* 1 */ 45 GDB_BX, /* 1 */
46 GDB_CX, /* 2 */ 46 GDB_CX, /* 2 */
47 GDB_BX, /* 3 */ 47 GDB_DX, /* 3 */
48 GDB_SI, /* 4 */ 48 GDB_SI, /* 4 */
49 GDB_DI, /* 5 */ 49 GDB_DI, /* 5 */
50 GDB_BP, /* 6 */ 50 GDB_BP, /* 6 */