File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
src/main/kotlin/allegrex/agent/ppsspp/model Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ #### Version 15
2
+ - Fixed debugger breakpoint placing
3
+
1
4
#### Version 14
2
5
- Updated to Ghidra 10.2
3
6
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import ghidra.dbg.target.schema.TargetElementType
14
14
import ghidra.dbg.target.schema.TargetObjectSchemaInfo
15
15
import ghidra.dbg.util.PathUtils
16
16
import ghidra.program.model.address.Address
17
+ import ghidra.program.model.address.AddressRangeImpl
17
18
import kotlinx.coroutines.future.await
18
19
19
20
@TargetObjectSchemaInfo(
@@ -38,7 +39,7 @@ class PpssppModelTargetCpuBreakpoint(
38
39
val address: Address = getModel().addressFactory
39
40
.defaultAddressSpace
40
41
.getAddress(meta.address.toString(16 ))
41
- val addressRange = address.rangeTo (address.add( 3 ) )
42
+ val addressRange = AddressRangeImpl (address, 1 )
42
43
43
44
changeAttributes(
44
45
emptyList(),
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import ghidra.dbg.target.schema.TargetElementType
14
14
import ghidra.dbg.target.schema.TargetObjectSchemaInfo
15
15
import ghidra.dbg.util.PathUtils
16
16
import ghidra.program.model.address.Address
17
+ import ghidra.program.model.address.AddressRangeImpl
17
18
import kotlinx.coroutines.future.await
18
19
19
20
@TargetObjectSchemaInfo(
@@ -34,7 +35,7 @@ class PpssppModelTargetMemoryBreakpoint(
34
35
val address: Address = getModel().addressFactory
35
36
.defaultAddressSpace
36
37
.getAddress(meta.address.toString(16 ))
37
- val addressRange = address.rangeTo (address.add( meta.size) )
38
+ val addressRange = AddressRangeImpl (address, meta.size)
38
39
39
40
changeAttributes(
40
41
emptyList(),
You can’t perform that action at this time.
0 commit comments