summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-10 18:14:41 +0200
committerbunnei <bunneidev@gmail.com>2016-05-10 18:14:41 +0200
commitfeecc76333c56e42b9de590bef14e9e9872fbc5d (patch)
treebdb5670a99b25bb3fe076f1cba37d4361fe093f4 /src
parentMerge pull request #1773 from lioncash/debug-build (diff)
parentgdbstub: Silence missing prototype warnings (diff)
downloadyuzu-feecc76333c56e42b9de590bef14e9e9872fbc5d.tar
yuzu-feecc76333c56e42b9de590bef14e9e9872fbc5d.tar.gz
yuzu-feecc76333c56e42b9de590bef14e9e9872fbc5d.tar.bz2
yuzu-feecc76333c56e42b9de590bef14e9e9872fbc5d.tar.lz
yuzu-feecc76333c56e42b9de590bef14e9e9872fbc5d.tar.xz
yuzu-feecc76333c56e42b9de590bef14e9e9872fbc5d.tar.zst
yuzu-feecc76333c56e42b9de590bef14e9e9872fbc5d.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/gdbstub/gdbstub.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp
index 1360ee845..820b19e1a 100644
--- a/src/core/gdbstub/gdbstub.cpp
+++ b/src/core/gdbstub/gdbstub.cpp
@@ -437,7 +437,7 @@ static void HandleSetThread() {
*
* @param signal Signal to be sent to client.
*/
-void SendSignal(u32 signal) {
+static void SendSignal(u32 signal) {
if (gdbserver_socket == -1) {
return;
}
@@ -713,7 +713,7 @@ static void Continue() {
* @param addr Address 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);
Breakpoint breakpoint;
@@ -907,7 +907,7 @@ void ToggleServer(bool status) {
}
}
-void Init(u16 port) {
+static void Init(u16 port) {
if (!g_server_enabled) {
// Set the halt loop to false in case the user enabled the gdbstub mid-execution.
// This way the CPU can still execute normally.