microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
gdb_encoders.hpp File Reference

GDB RSP encoders for both Client (requests) and Server (responses) roles. More...

#include "../microfmt.hpp"
#include "gdb_packet_metadata.hpp"
Include dependency graph for gdb_encoders.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  microfmt::gdb::client_request_view
 Zero-allocation parameters for generating a GDB client request. More...
 
class  microfmt::gdb::client_request_encoder
 Encodes GDB requests (acting as a GDB frontend/client). More...
 
struct  microfmt::gdb::server_response_view
 Zero-allocation parameters for generating a GDB server response. More...
 
class  microfmt::gdb::server_response_encoder
 Encodes GDB responses (acting as a GDB server/stub). More...
 

Namespaces

namespace  microfmt
 
namespace  microfmt::gdb
 
namespace  microfmt::gdb::detail
 

Enumerations

enum class  microfmt::gdb::server_response_type : uint8_t {
  microfmt::gdb::empty , microfmt::gdb::ok , microfmt::gdb::error , microfmt::gdb::hex_data ,
  microfmt::gdb::binary_data , microfmt::gdb::console_output , microfmt::gdb::thread_list , microfmt::gdb::thread_list_end ,
  microfmt::gdb::stop_signal , microfmt::gdb::stop_exit , microfmt::gdb::raw_string
}
 

Functions

void microfmt::gdb::detail::emit_hex_bytes (sink target, span< const uint8_t > data) noexcept
 
RELOCO_BEGIN_UNSAFE_CODE void microfmt::gdb::detail::emit_escaped_binary (sink target, span< const uint8_t > data) noexcept
 
RELOCO_END_UNSAFE_CODE void microfmt::gdb::detail::write_thread_id (sink target, uint64_t tid) noexcept
 

Detailed Description

GDB RSP encoders for both Client (requests) and Server (responses) roles.