diff options
| author | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 15:24:28 -0500 |
|---|---|---|
| committer | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 15:24:58 -0500 |
| commit | 514b3e6f55bc74e2c893aa8a044d2fb739f08add (patch) | |
| tree | 225e2d89970902cc561fdd8c146416c003dfdb0e | |
| parent | e498759d1425a64ecf19524dc3196f103354e033 (diff) | |
Core/Debugger_SymbolMap: Remove AddAutoBreakpoints()
This is wholly unused in current code.
| -rw-r--r-- | Source/Core/Core/Debugger/Debugger_SymbolMap.cpp | 18 | ||||
| -rw-r--r-- | Source/Core/Core/Debugger/Debugger_SymbolMap.h | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/Source/Core/Core/Debugger/Debugger_SymbolMap.cpp b/Source/Core/Core/Debugger/Debugger_SymbolMap.cpp index 16aff1a3b4..50ca9dbf85 100644 --- a/Source/Core/Core/Debugger/Debugger_SymbolMap.cpp +++ b/Source/Core/Core/Debugger/Debugger_SymbolMap.cpp @@ -20,24 +20,6 @@ namespace Dolphin_Debugger { -void AddAutoBreakpoints() -{ -#if defined(_DEBUG) || defined(DEBUGFAST) -#if 1 - const char* bps[] = { - "PPCHalt", - }; - - for (const char* bp : bps) - { - Common::Symbol* symbol = g_symbolDB.GetSymbolFromName(bp); - if (symbol) - Core::System::GetInstance().GetPowerPC().GetBreakPoints().Add(symbol->address, false); - } -#endif -#endif -} - // Returns true if the address is not a valid RAM address or NULL. static bool IsStackBottom(const Core::CPUThreadGuard& guard, u32 addr) { diff --git a/Source/Core/Core/Debugger/Debugger_SymbolMap.h b/Source/Core/Core/Debugger/Debugger_SymbolMap.h index e8408bae64..83dcfaa551 100644 --- a/Source/Core/Core/Debugger/Debugger_SymbolMap.h +++ b/Source/Core/Core/Debugger/Debugger_SymbolMap.h @@ -30,6 +30,4 @@ void PrintCallstack(Core::System& system, const Core::CPUThreadGuard& guard, Common::Log::LogType type, Common::Log::LogLevel level); void PrintDataBuffer(Common::Log::LogType type, const u8* data, size_t size, std::string_view title); -void AddAutoBreakpoints(); - } // namespace Dolphin_Debugger |
