Skip to content
  • Jon Doron's avatar
    2704efad
    gdbstub: Implement generic set/query (Q/q pkt) with new infra · 2704efad
    Jon Doron authored
    
    
    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: default avatarJon Doron <arilou@gmail.com>
    Message-Id: <20190529064148.19856-18-arilou@gmail.com>
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
    2704efad
    gdbstub: Implement generic set/query (Q/q pkt) with new infra
    Jon Doron authored
    
    
    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: default avatarJon Doron <arilou@gmail.com>
    Message-Id: <20190529064148.19856-18-arilou@gmail.com>
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Loading