openrisc / or1ksim

The OpenRISC 1000 architectural simulator
GNU General Public License v3.0
69 stars 43 forks source link

rsp: Return proper error condition on unrecognized 'v' command #6

Closed stffrdhrn closed 7 years ago

stffrdhrn commented 7 years ago

An upstream commit 57809e5e5 in gdb causes gdb remote client to abort if the server returns a non blank response when handling an unknown request.

gdb remote connect fails with: Remote replied unexpectedly to 'vMustReplyEmpty': E01

This change is to return "" is as per spec so gdb connections do not abort.

20156-09-18 Stafford Horne shorne@gmail.com

* debug/rsp-server.c: return "" on unknown vpacket
jeremybennett commented 7 years ago

Thanks for fixing this

stffrdhrn commented 7 years ago

Thanks for reviewing