From: Jason Wessel Date: Fri, 26 Sep 2008 15:36:42 +0000 (-0500) Subject: kgdb, x86_64: gdb serial has BX and DX reversed X-Git-Tag: v2.6.27-rc8~6^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95dbf1dbe39ed336a3e72116c95cfa98dd3457e6;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 --- diff --git a/include/asm-x86/kgdb.h b/include/asm-x86/kgdb.h index 484c475..e86b306 100644 --- a/include/asm-x86/kgdb.h +++ b/include/asm-x86/kgdb.h @@ -42,9 +42,9 @@ enum regnames { #else /* ! CONFIG_X86_32 */ enum regnames { GDB_AX, /* 0 */ - GDB_DX, /* 1 */ + GDB_BX, /* 1 */ GDB_CX, /* 2 */ - GDB_BX, /* 3 */ + GDB_DX, /* 3 */ GDB_SI, /* 4 */ GDB_DI, /* 5 */ GDB_BP, /* 6 */