[lldb] [gdb-remote] Use hexadecimal numbers in vFile packats for GDB compliance
authorMichał Górny <mgorny@moritz.systems>
Wed, 4 Aug 2021 16:17:34 +0000 (18:17 +0200)
committerMichał Górny <mgorny@moritz.systems>
Mon, 9 Aug 2021 10:07:33 +0000 (12:07 +0200)
commit9929cfbcd5bf5402fbb180e5bb3f917f50bbdf94
tree133155a6cb3ecd166b6cb7b047d784ee6b672b1f
parent8bbef4f9afd8b5f6b4435d5bab48b75f048f353c
[lldb] [gdb-remote] Use hexadecimal numbers in vFile packats for GDB compliance

Use hexadecimal numbers rather than decimal in various vFile packets
in order to fix compatibility with gdbserver.  This also changes the few
custom LLDB packets -- while technically they do not have to be changed,
it is easier to use the same syntax consistently across LLDB.

Differential Revision: https://reviews.llvm.org/D107475
lldb/docs/lldb-platform-packets.txt
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
lldb/test/API/functionalities/gdb_remote_client/TestGDBRemotePlatformFile.py
lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py [new file with mode: 0644]