mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Core/Debugger_SymbolMap: Remove AddAutoBreakpoints()
This is wholly unused in current code.
This commit is contained in:
@ -20,24 +20,6 @@
|
|||||||
|
|
||||||
namespace Dolphin_Debugger
|
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.
|
// Returns true if the address is not a valid RAM address or NULL.
|
||||||
static bool IsStackBottom(const Core::CPUThreadGuard& guard, u32 addr)
|
static bool IsStackBottom(const Core::CPUThreadGuard& guard, u32 addr)
|
||||||
{
|
{
|
||||||
|
@ -30,6 +30,4 @@ void PrintCallstack(Core::System& system, const Core::CPUThreadGuard& guard,
|
|||||||
Common::Log::LogType type, Common::Log::LogLevel level);
|
Common::Log::LogType type, Common::Log::LogLevel level);
|
||||||
void PrintDataBuffer(Common::Log::LogType type, const u8* data, size_t size,
|
void PrintDataBuffer(Common::Log::LogType type, const u8* data, size_t size,
|
||||||
std::string_view title);
|
std::string_view title);
|
||||||
void AddAutoBreakpoints();
|
|
||||||
|
|
||||||
} // namespace Dolphin_Debugger
|
} // namespace Dolphin_Debugger
|
||||||
|
Reference in New Issue
Block a user