mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 22:45:17 -04:00
thermosphere: gdb: add debugManagerInit
This commit is contained in:
parent
cf0b052590
commit
e4de512e6f
7 changed files with 85 additions and 3 deletions
|
@ -43,6 +43,7 @@
|
|||
#include "../watchpoints.h"
|
||||
|
||||
static TEMPORARY char g_gdbWorkBuffer[GDB_WORK_BUF_LEN];
|
||||
static TEMPORARY char g_gdbBuffer[GDB_BUF_LEN + 4];
|
||||
|
||||
static const struct{
|
||||
char command;
|
||||
|
@ -174,6 +175,7 @@ void GDB_InitializeContext(GDBContext *ctx, TransportInterfaceType ifaceType, u3
|
|||
{
|
||||
memset(ctx, 0, sizeof(GDBContext));
|
||||
ctx->workBuffer = g_gdbWorkBuffer;
|
||||
ctx->buffer = g_gdbBuffer;
|
||||
ctx->transportInterface = transportInterfaceCreate(
|
||||
ifaceType,
|
||||
ifaceId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue