diff options
| author | 2023-02-14 19:14:29 -0500 | |
|---|---|---|
| committer | 2023-02-14 19:14:29 -0500 | |
| commit | 98631b45b6012f997081dc76c6908dcba8df729b (patch) | |
| tree | aea2f7401fc83aea190218d1be9788c2ff39dd14 /src/core/debugger/gdbstub_arch.cpp | |
| parent | use a string view to skip allocation (diff) | |
| download | yuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar.gz yuzu-98631b45b6012f997081dc76c6908dcba8df729b.tar.xz yuzu-98631b45b6012f997081dc76c6908dcba8df729b.zip | |
remove constexpr from virtual function
Signed-off-by: arades79 <scravers@protonmail.com>
Diffstat (limited to 'src/core/debugger/gdbstub_arch.cpp')
| -rw-r--r-- | src/core/debugger/gdbstub_arch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/debugger/gdbstub_arch.cpp b/src/core/debugger/gdbstub_arch.cpp index f3dd517bd..831c48513 100644 --- a/src/core/debugger/gdbstub_arch.cpp +++ b/src/core/debugger/gdbstub_arch.cpp | |||
| @@ -41,7 +41,7 @@ static void PutSIMDRegister(std::array<u32, 64>& simd_regs, size_t offset, const | |||
| 41 | 41 | ||
| 42 | // For sample XML files see the GDB source /gdb/features | 42 | // For sample XML files see the GDB source /gdb/features |
| 43 | // This XML defines what the registers are for this specific ARM device | 43 | // This XML defines what the registers are for this specific ARM device |
| 44 | constexpr std::string_view GDBStubA64::GetTargetXML() const { | 44 | std::string_view GDBStubA64::GetTargetXML() const { |
| 45 | return R"(<?xml version="1.0"?> | 45 | return R"(<?xml version="1.0"?> |
| 46 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> | 46 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> |
| 47 | <target version="1.0"> | 47 | <target version="1.0"> |
| @@ -267,7 +267,7 @@ u32 GDBStubA64::BreakpointInstruction() const { | |||
| 267 | return 0xd4200000; | 267 | return 0xd4200000; |
| 268 | } | 268 | } |
| 269 | 269 | ||
| 270 | constexpr std::string_view GDBStubA32::GetTargetXML() const { | 270 | std::string_view GDBStubA32::GetTargetXML() const { |
| 271 | return R"(<?xml version="1.0"?> | 271 | return R"(<?xml version="1.0"?> |
| 272 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> | 272 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> |
| 273 | <target version="1.0"> | 273 | <target version="1.0"> |