2017-06-05 02:02:04 +02:00
|
|
|
/*
|
2019-05-03 21:06:10 +02:00
|
|
|
* This file is part of Luma3DS.
|
2020-04-25 13:26:21 +01:00
|
|
|
* Copyright (C) 2016-2020 Aurora Wright, TuxSH
|
2017-06-05 02:02:04 +02:00
|
|
|
*
|
2019-05-03 21:06:10 +02:00
|
|
|
* SPDX-License-Identifier: (MIT OR GPL-2.0-or-later)
|
2017-06-05 02:02:04 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "gdb.h"
|
|
|
|
|
|
2019-04-13 19:18:47 +02:00
|
|
|
GDB_DECLARE_VERBOSE_HANDLER(Run);
|
|
|
|
|
GDB_DECLARE_HANDLER(Restart);
|
2019-04-12 23:40:51 +02:00
|
|
|
GDB_DECLARE_VERBOSE_HANDLER(Attach);
|
2017-06-05 02:02:04 +02:00
|
|
|
GDB_DECLARE_HANDLER(Detach);
|
|
|
|
|
GDB_DECLARE_HANDLER(Kill);
|
|
|
|
|
GDB_DECLARE_HANDLER(Break);
|
|
|
|
|
GDB_DECLARE_HANDLER(Continue);
|
|
|
|
|
GDB_DECLARE_VERBOSE_HANDLER(Continue);
|
|
|
|
|
GDB_DECLARE_HANDLER(GetStopReason);
|
|
|
|
|
|
2019-04-14 21:48:15 +02:00
|
|
|
void GDB_ContinueExecution(GDBContext *ctx);
|
2017-06-05 02:02:04 +02:00
|
|
|
void GDB_PreprocessDebugEvent(GDBContext *ctx, DebugEventInfo *info);
|
|
|
|
|
int GDB_SendStopReply(GDBContext *ctx, const DebugEventInfo *info);
|
|
|
|
|
int GDB_HandleDebugEvents(GDBContext *ctx);
|
|
|
|
|
void GDB_BreakProcessAndSinkDebugEvents(GDBContext *ctx, DebugFlags flags);
|