]> git.proxmox.com Git - mirror_qemu.git/commit - gdbstub.c
gdbstub: Implement generic set/query (Q/q pkt) with new infra
authorJon Doron <arilou@gmail.com>
Wed, 29 May 2019 06:41:45 +0000 (09:41 +0300)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 12 Jun 2019 16:53:23 +0000 (17:53 +0100)
commit2704efad514da6600481bef8686ddb786c10c62b
tree6f4763cf1d80fb06ed02c48d536b1f6822cbc19b
parent8536ec02fe0659bfa943ede9cbdb9ea54b66f674
gdbstub: Implement generic set/query (Q/q pkt) with new infra

The generic set/query packets contains implementation for varioius
sub-commands which are required for GDB and also additional commands
which are QEMU specific.

To see which QEMU specific commands are available use the command
gdb> maintenance packet qqemu.Supported

Currently the only implemented QEMU specific command is the command
that sets the single step behavior.

gdb> maintenance packet qqemu.sstepbits
Will display the MASK bits used to control the single stepping.

gdb> maintenance packet qqemu.sstep
Will display the current value of the mask used when single stepping.

gdb> maintenance packet Qqemu.sstep:HEX_VALUE
Will change the single step mask.

Signed-off-by: Jon Doron <arilou@gmail.com>
Message-Id: <20190529064148.19856-18-arilou@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
gdbstub.c