Bug ID 47820
Summary Correct vFile:pread/pwrite packet format incompatibility with gdb
Component All Bugs
CC firstname.lastname@example.org, email@example.com
This is derived from discussion on: [https://reviews.llvm.org/D89227](https://reviews.llvm.org/D89227) Where I updated the docs to say that vFile:pread/pwrite use different number formats in gdb and lldb. The protocol specification requires hex formatted numbers (no mention of 0x prefix or not) gdb/gdb-server send/expect to get hex numbers without an 0x prefix lldb/lldb-server send decimal numbers and expect to get either decimal numbers or hex with the 0x prefix Plan to fix this: (from labath's comment) * Change lldb to send hex with 0x prefix, wait a while * Change lldb-server to always expect hex (0x prefix or otherwise), wait again * Change lldb to send hex *without* the 0x prefix Which gets us to matching gdb. Waiting some time allows us to keep some compatibility going between old clients and new servers. I'm interpreting this to mean wait a release between each one.