]> Git Repo - qemu.git/commit - gdbstub.c
gdbstub: revert to previous set_reg behaviour
authorAlex Bennée <[email protected]>
Fri, 5 Jul 2019 13:23:07 +0000 (14:23 +0100)
committerAlex Bennée <[email protected]>
Wed, 10 Jul 2019 09:54:46 +0000 (10:54 +0100)
commit94b2a62bb65b80760bcc59737bec908c9175abf4
tree6823a757c0c4c472a71874fd7327417be32df418
parent42a0959648080874119f0430ceddcebfe3faaa28
gdbstub: revert to previous set_reg behaviour

The refactoring of handle_set_reg missed the fact we previously had
responded with an empty packet when we were not using XML based
protocols. This broke the fallback behaviour for architectures that
don't have registers defined in QEMU's gdb-xml directory.

Revert to the previous behaviour and clean up the commentary for what
is going on.

Fixes: 62b3320bddd
Signed-off-by: Alex Bennée <[email protected]>
Tested-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Cc: Jon Doron <[email protected]>
gdbstub.c
This page took 0.024892 seconds and 4 git commands to generate.