diff options
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 4bef09bd7..b13c473bb 100644 --- a/src/core/debugger/gdbstub_arch.cpp +++ b/src/core/debugger/gdbstub_arch.cpp | |||
| @@ -42,7 +42,7 @@ static void PutSIMDRegister(std::array<u32, 64>& simd_regs, size_t offset, const | |||
| 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 | std::string GDBStubA64::GetTargetXML() const { | 44 | std::string GDBStubA64::GetTargetXML() const { |
| 45 | constexpr const char* target_xml = | 45 | constexpr static const char* target_xml = |
| 46 | R"(<?xml version="1.0"?> | 46 | R"(<?xml version="1.0"?> |
| 47 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> | 47 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> |
| 48 | <target version="1.0"> | 48 | <target version="1.0"> |
| @@ -271,7 +271,7 @@ u32 GDBStubA64::BreakpointInstruction() const { | |||
| 271 | } | 271 | } |
| 272 | 272 | ||
| 273 | std::string GDBStubA32::GetTargetXML() const { | 273 | std::string GDBStubA32::GetTargetXML() const { |
| 274 | constexpr const char* target_xml = | 274 | constexpr static const char* target_xml = |
| 275 | R"(<?xml version="1.0"?> | 275 | R"(<?xml version="1.0"?> |
| 276 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> | 276 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> |
| 277 | <target version="1.0"> | 277 | <target version="1.0"> |