History

Debugger disassemble defaults to 4 instructions. Disasembler in debugger now replaces breakpoint opcode with real if it was replaced. Fix bug when setting breakpoint at same location twice.

arr committed 10 years ago

Commit f29cf0d1 parent 754ca824 files · +38 −6Browse files

Showing the changes to src/include (2 of 4 files). Show all

Unified · Split

2 files
  1. src/include/opcodes.h +3 −1
  2. src/include/vm_tools.h +1 −0
src/include/opcodes.h+3−1
@@ -7,10 +7,12 @@ · 6 unmodified lines
77 #ifndef _DISVM_SRC_INCLUDE_OPCODES_H_
88 #define _DISVM_SRC_INCLUDE_OPCODES_H_
99
10+#include <cstdint>
11+
1012 namespace disvm
1113 {
1214 // Instruction codes for the Dis VM
13− enum class opcode_t
15+ enum class opcode_t : uint8_t
1416 {
1517 invalid = 0,
1618 alt,
src/include/vm_tools.h+1−0
@@ -69,6 +69,7 @@ namespace disvm · 68 unmodified lines
6969 {
7070 std::shared_ptr<vm_module_t> module;
7171 vm_pc_t pc;
72+ opcode_t original_opcode;
7273 };
7374
7475 // VM tool controller