forked from OSchip/llvm-project
Add a description of the similar packets defined in the
gdb-remote serial protocol documentation, call out the incompatability of lldb's vFile:open: packet as it stands today. Need to think about whether to change lldb's enum values (breaking any existing lldb-server's out there) or create a different packet and abandon vFile:open: at least for a while. llvm-svn: 349316
This commit is contained in:
parent
10f8892837
commit
c14a6ae4a7
lldb/docs
|
@ -1,5 +1,15 @@
|
|||
Here is a brief overview of the packets that an lldb platform server needs to implement
|
||||
for the lldb testsuite to be run on a remote target device/system.
|
||||
Here is a brief overview of the packets that an lldb platform server
|
||||
needs to implement for the lldb testsuite to be run on a remote
|
||||
target device/system.
|
||||
|
||||
These are almost all lldb extensions to the gdb-remote serial
|
||||
protocol. Many of the vFile: packets are described to the "Host
|
||||
I/O Packets" detailed in the gdb-remote protocol documentation,
|
||||
although the lldb platform extensions include packets that are not
|
||||
defined there (vFile:size:, vFile:mode:, vFile:symlink, vFile:chmod:).
|
||||
Most importantly, the flags that lldb passes to vFile:open: are
|
||||
incompatible with the flags that gdb specifies.
|
||||
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// QStartNoAckMode
|
||||
|
@ -311,7 +321,12 @@ for the lldb testsuite to be run on a remote target device/system.
|
|||
//
|
||||
// response is F followed by the opened file descriptor in base 10.
|
||||
// "F-1,errno" with the errno if an error occurs.
|
||||
|
||||
//
|
||||
// COMPATABILITY
|
||||
// The gdb-remote serial protocol documentatio defines a vFile:open:
|
||||
// packet which uses incompatible flag values, e.g. 1 means O_WRONLY
|
||||
// in gdb's vFile:open:, but it means eOpenOptionRead to lldb's
|
||||
// implementation.
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// vFile:close:
|
||||
|
|
Loading…
Reference in New Issue