projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7161a6
)
kgdb, x86_64: gdb serial has BX and DX reversed
author
Jason Wessel
<jason.wessel@windriver.com>
Fri, 26 Sep 2008 15:36:42 +0000
(10:36 -0500)
committer
Jason Wessel
<jason.wessel@windriver.com>
Fri, 26 Sep 2008 15:36:42 +0000
(10:36 -0500)
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>
include/asm-x86/kgdb.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86/kgdb.h
b/include/asm-x86/kgdb.h
index 484c47554f3bc6e76db3eafdb5443c2cda0ba55b..e86b3060bdcb9cfe367c58d2f5c0ca9f7a7f8d88 100644
(file)
--- 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_
D
X, /* 1 */
+ GDB_
B
X, /* 1 */
GDB_CX, /* 2 */
- GDB_
B
X, /* 3 */
+ GDB_
D
X, /* 3 */
GDB_SI, /* 4 */
GDB_DI, /* 5 */
GDB_BP, /* 6 */