thermosphere: gdb: remove server, rewrite data processing in gdb/context and gdb/net

This commit is contained in:
TuxSH
2020-01-26 23:50:30 +00:00
parent 8538fed043
commit c00672654a
22 changed files with 497 additions and 551 deletions

View File

@@ -7,31 +7,9 @@
#pragma once
#include "../gdb.h"
#include "context.h"
#include "../core_ctx.h"
typedef enum DebugEventType {
DBGEVENT_DEBUGGER_BREAK = 0,
DBGEVENT_EXCEPTION,
DBGEVENT_CORE_ON,
DBGEVENT_CORE_OFF,
DBGEVENT_EXIT,
DBGEVENT_OUTPUT_STRING,
} DebugEventType;
typedef struct OutputStringDebugEventInfo {
uintptr_t address;
size_t size;
} OutputStringDebugEventInfo;
typedef struct DebugEventInfo {
DebugEventType type;
u32 coreId;
ExceptionStackFrame *frame;
union {
OutputStringDebugEventInfo outputString;
};
} DebugEventInfo;
#include "../debug_manager.h"
GDB_DECLARE_HANDLER(Detach);
GDB_DECLARE_HANDLER(Kill);