11#include "llvm/Support/Threading.h"
18 {{
"async"}, {
"log asynchronous activity"}, GDBRLog::Async},
19 {{
"break"}, {
"log breakpoints"}, GDBRLog::Breakpoints},
20 {{
"comm"}, {
"log communication activity"}, GDBRLog::Comm},
21 {{
"packets"}, {
"log gdb remote packets"}, GDBRLog::Packets},
22 {{
"memory"}, {
"log memory reads and writes"}, GDBRLog::Memory},
24 {
"log memory bytes for memory reads and writes for short transactions "
26 GDBRLog::MemoryDataShort},
28 {
"log memory bytes for memory reads and writes for all transactions"},
29 GDBRLog::MemoryDataLong},
30 {{
"process"}, {
"log process events and activities"}, GDBRLog::Process},
31 {{
"step"}, {
"log step related activities"}, GDBRLog::Step},
32 {{
"thread"}, {
"log thread events and activities"}, GDBRLog::Thread},
33 {{
"watch"}, {
"log watchpoint related activities"}, GDBRLog::Watchpoints},
38template <>
Log::Channel &lldb_private::LogChannelFor<GDBRLog>() {
43 static llvm::once_flag g_once_flag;
44 llvm::call_once(g_once_flag, []() {
static Log::Channel g_channel(g_categories, GDBRLog::Packets)
static constexpr Log::Category g_categories[]
static void Register(llvm::StringRef name, Channel &channel)
A class that represents a running process on the host machine.