https://bugs.llvm.org/show_bug.cgi?id=47820

            Bug ID: 47820
           Summary: Correct vFile:pread/pwrite packet format
                    incompatibility with gdb
           Product: lldb
           Version: 11.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev@lists.llvm.org
          Reporter: david.spick...@linaro.org
                CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org

This is derived from discussion on: 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to