kernel-hacking-2024-linux-s.../kernel/debug
Jason Wessel fb82c0ff27 repair gdbstub to match the gdbserial protocol specification
The gdbserial protocol handler should return an empty packet instead
of an error string when ever it responds to a command it does not
implement.

The problem cases come from a debugger client sending
qTBuffer, qTStatus, qSearch, qSupported.

The incorrect response from the gdbstub leads the debugger clients to
not function correctly.  Recent versions of gdb will not detach correctly as a result of this behavior.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
2010-07-21 19:27:05 -05:00
..
kdb kdb: break out of kdb_ll() when command is terminated 2010-07-21 19:27:05 -05:00
debug_core.c x86, kgdb, init: Add early and late debug states 2010-05-20 21:04:29 -05:00
debug_core.h kgdb: gdb "monitor" -> kdb passthrough 2010-05-20 21:04:24 -05:00
gdbstub.c repair gdbstub to match the gdbserial protocol specification 2010-07-21 19:27:05 -05:00
Makefile kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00