mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
They're not used and the naming is confused, we can readd these if we actually want to use them.
25 lines
564 B
C++
25 lines
564 B
C++
// SPDX-FileCopyrightText: 2002-2026 PCSX2 Dev Team
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
#include "common/Pcsx2Types.h"
|
|
|
|
class DebugInterface;
|
|
|
|
namespace MipsStackWalk {
|
|
struct StackFrame {
|
|
// Beginning of function symbol (may be estimated.)
|
|
u32 entry;
|
|
// Next position within function.
|
|
u32 pc;
|
|
// Value of SP inside this function (assuming no alloca()...)
|
|
u32 sp;
|
|
// Size of stack frame in bytes.
|
|
int stackSize;
|
|
};
|
|
|
|
std::vector<StackFrame> Walk(DebugInterface* cpu, u32 pc, u32 ra, u32 sp, u32 threadEntry);
|
|
};
|