1 //===-- StreamGDBRemote.h ----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_StreamGDBRemote_h_
11 #define liblldb_StreamGDBRemote_h_
16 // Other libraries and framework includes
19 #include "lldb/Core/StreamString.h"
21 namespace lldb_private {
23 class StreamGDBRemote : public StreamString
28 StreamGDBRemote (uint32_t flags,
30 lldb::ByteOrder byte_order);
35 //------------------------------------------------------------------
36 /// Output a block of data to the stream performing GDB-remote escaping.
41 /// @param[in] src_len
42 /// The amount of data to write.
45 /// Number of bytes written.
46 //------------------------------------------------------------------
48 PutEscapedBytes (const void* s,
52 } // namespace lldb_private
54 #endif // liblldb_StreamGDBRemote_h_