mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-09 14:49:09 +01:00
Merge pull request #1774 from lioncash/warn
gdbstub: Silence missing prototype warnings
This commit is contained in:
commit
feecc76333
1 changed files with 3 additions and 3 deletions
|
@ -437,7 +437,7 @@ static void HandleSetThread() {
|
||||||
*
|
*
|
||||||
* @param signal Signal to be sent to client.
|
* @param signal Signal to be sent to client.
|
||||||
*/
|
*/
|
||||||
void SendSignal(u32 signal) {
|
static void SendSignal(u32 signal) {
|
||||||
if (gdbserver_socket == -1) {
|
if (gdbserver_socket == -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -713,7 +713,7 @@ static void Continue() {
|
||||||
* @param addr Address of breakpoint.
|
* @param addr Address of breakpoint.
|
||||||
* @param len Length of breakpoint.
|
* @param len Length of breakpoint.
|
||||||
*/
|
*/
|
||||||
bool CommitBreakpoint(BreakpointType type, PAddr addr, u32 len) {
|
static bool CommitBreakpoint(BreakpointType type, PAddr addr, u32 len) {
|
||||||
std::map<u32, Breakpoint>& p = GetBreakpointList(type);
|
std::map<u32, Breakpoint>& p = GetBreakpointList(type);
|
||||||
|
|
||||||
Breakpoint breakpoint;
|
Breakpoint breakpoint;
|
||||||
|
@ -907,7 +907,7 @@ void ToggleServer(bool status) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Init(u16 port) {
|
static void Init(u16 port) {
|
||||||
if (!g_server_enabled) {
|
if (!g_server_enabled) {
|
||||||
// Set the halt loop to false in case the user enabled the gdbstub mid-execution.
|
// Set the halt loop to false in case the user enabled the gdbstub mid-execution.
|
||||||
// This way the CPU can still execute normally.
|
// This way the CPU can still execute normally.
|
||||||
|
|
Loading…
Reference in a new issue