diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-07-21 19:27:05 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-03-14 10:57:05 -0400 |
commit | ebe451b0dd80704dc56e06c35690a47d26be149b (patch) | |
tree | 1dcb8d1883ac225cbba531214c48922c4d9a14fe /net | |
parent | 387b3e0a0ce26408e764e7bf268e8d98c4a660b7 (diff) |
repair gdbstub to match the gdbserial protocol specification
commit fb82c0ff27b2c40c6f7a3d1a94cafb154591fa80 upstream.
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.
[PG: file renamed by time of fb82c0ff kgdb.c --> debug/gdbstub.c]
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions