Core/Debugger_SymbolMap: Remove AddAutoBreakpoints()

This is wholly unused in current code.
This commit is contained in:
Lioncache 2023-12-18 15:24:28 -05:00
parent e498759d14
commit 514b3e6f55
2 changed files with 0 additions and 20 deletions

View file

@ -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)
{

View file

@ -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