# "Which resume actions do you support?" if command == b"vCont?": # Even though we don't actually support `C`, without it, GDB will refuse to use `vCont`. # And if it doesn't use `vCont`, it doesn't use single-stepping either, even though we # make it available under `s`. Something similar happens with `S`, where GDB will use # `vCont`, but will not use single-stepping unless both `s` and `S` are declared to be # available. (Instead, it will attempt to write a software breakpoint to memory without # even checking if the write succeeded.) return b"vCont;c;C;s;S" # "Please use a vCont action you don't actually support but have to declare in order for me # to actually do single-stepping." if command.startswith((b"vCont;C", b"vCont;S")): return (97, "unsupported vCont command")
https://files.mastodon.social/media_attachments/files/114/457/449/163/367/019/original/f05e0afbc33e9bbd.png