mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 17:29:59 +00:00
gdbstub_arch: Add missing virtual destructor
The class is used polymorphically, so it's undefined behavior to delete instances of GDBStubA64 and GDBStubA32 from the base class pointer.
This commit is contained in:
parent
b94739cfa7
commit
80ad90651e
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ namespace Core {
|
||||||
|
|
||||||
class GDBStubArch {
|
class GDBStubArch {
|
||||||
public:
|
public:
|
||||||
|
virtual ~GDBStubArch() = default;
|
||||||
virtual std::string GetTargetXML() const = 0;
|
virtual std::string GetTargetXML() const = 0;
|
||||||
virtual std::string RegRead(const Kernel::KThread* thread, size_t id) const = 0;
|
virtual std::string RegRead(const Kernel::KThread* thread, size_t id) const = 0;
|
||||||
virtual void RegWrite(Kernel::KThread* thread, size_t id, std::string_view value) const = 0;
|
virtual void RegWrite(Kernel::KThread* thread, size_t id, std::string_view value) const = 0;
|
||||||
|
|
Loading…
Reference in a new issue