]> git.proxmox.com Git - mirror_qemu.git/commit
gdbstub: implement remote debugging protocol escapes for command receive
authorDoug Gale <doug16k@gmail.com>
Mon, 1 May 2017 16:22:10 +0000 (12:22 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 8 May 2017 13:26:32 +0000 (09:26 -0400)
commit4bf43122dbdb62251d502deaaee630fd08a67c6d
treebbe85bab40c18009784e1ee82ac7ffc80612ecff
parentdd1559bb267becbb838de41132ef60771d183e5d
gdbstub: implement remote debugging protocol escapes for command receive

- decode escape sequences
- decompress run-length encoding escape sequences
- report command parsing problems to output when debug output is enabled
- reject packet checksums that are not valid hex digits
- compute the checksum based on the packet stream, not based on the
  decoded packet

Tested with GDB and QtCreator integrated debugger on SMP QEMU instance.
Works for me.

Signed-off-by: Doug Gale <doug16k@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
gdbstub.c