diff options
author | Jonathan Hao <johnathan79717@gmail.com> | 2017-01-04 17:48:29 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-04 17:48:29 +0100 |
commit | c18cb1b192d60499af3d68b244e86c8dd8f55200 (patch) | |
tree | 48c481884bb29dd7bde72694a6ed703bb416d7c3 /src/core/gdbstub | |
parent | Update .travis.yml (diff) | |
download | yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.gz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.bz2 yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.lz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.xz yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.tar.zst yuzu-c18cb1b192d60499af3d68b244e86c8dd8f55200.zip |
Diffstat (limited to 'src/core/gdbstub')
-rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index d88e25073..5cf45ada5 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -57,7 +57,6 @@ const u32 SIGTERM = 15; const u32 MSG_WAITALL = 8; #endif -const u32 R0_REGISTER = 0; const u32 R15_REGISTER = 15; const u32 CPSR_REGISTER = 25; const u32 FPSCR_REGISTER = 58; @@ -816,10 +815,6 @@ static void RemoveBreakpoint() { auto addr_pos = std::find(start_offset, command_buffer + command_length, ','); PAddr addr = HexToInt(start_offset, static_cast<u32>(addr_pos - start_offset)); - start_offset = addr_pos + 1; - u32 len = - HexToInt(start_offset, static_cast<u32>((command_buffer + command_length) - start_offset)); - if (type == BreakpointType::Access) { // Access is made up of Read and Write types, so add both breakpoints type = BreakpointType::Read; |