summaryrefslogtreecommitdiffstats
path: root/src/core/debugger/gdbstub_arch.h
diff options
context:
space:
mode:
authorarades79 <scravers@protonmail.com>2023-02-15 01:14:29 +0100
committerarades79 <scravers@protonmail.com>2023-02-15 01:14:29 +0100
commit98631b45b6012f997081dc76c6908dcba8df729b (patch)
treeaea2f7401fc83aea190218d1be9788c2ff39dd14 /src/core/debugger/gdbstub_arch.h
parentuse a string view to skip allocation (diff)
downloadyuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar
yuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar.gz
yuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar.bz2
yuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar.lz
yuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar.xz
yuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar.zst
yuzu-98631b45b6012f997081dc76c6908dcba8df729b.zip
Diffstat (limited to 'src/core/debugger/gdbstub_arch.h')
-rw-r--r--src/core/debugger/gdbstub_arch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/debugger/gdbstub_arch.h b/src/core/debugger/gdbstub_arch.h
index 1958fdf88..34530c788 100644
--- a/src/core/debugger/gdbstub_arch.h
+++ b/src/core/debugger/gdbstub_arch.h
@@ -16,7 +16,7 @@ namespace Core {
class GDBStubArch {
public:
virtual ~GDBStubArch() = default;
- virtual constexpr std::string_view GetTargetXML() const = 0;
+ virtual std::string_view GetTargetXML() 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 std::string ReadRegisters(const Kernel::KThread* thread) const = 0;
@@ -27,7 +27,7 @@ public:
class GDBStubA64 final : public GDBStubArch {
public:
- constexpr std::string_view GetTargetXML() const override;
+ std::string_view GetTargetXML() const override;
std::string RegRead(const Kernel::KThread* thread, size_t id) const override;
void RegWrite(Kernel::KThread* thread, size_t id, std::string_view value) const override;
std::string ReadRegisters(const Kernel::KThread* thread) const override;
@@ -47,7 +47,7 @@ private:
class GDBStubA32 final : public GDBStubArch {
public:
- constexpr std::string_view GetTargetXML() const override;
+ std::string_view GetTargetXML() const override;
std::string RegRead(const Kernel::KThread* thread, size_t id) const override;
void RegWrite(Kernel::KThread* thread, size_t id, std::string_view value) const override;
std::string ReadRegisters(const Kernel::KThread* thread) const override;