mirror of
https://github.com/sstefani/mtrace.git
synced 2025-12-06 08:46:41 +08:00
SW_BP is not defined, it seems to be BP_SW
(at least that is what breakpoint.h has)
This commit is contained in:
parent
e49367d214
commit
f6b3158574
@ -691,7 +691,7 @@ int do_singlestep(struct task *task, struct breakpoint *bp)
|
||||
|
||||
bp1 = breakpoint_find(task, next_pcs[0]);
|
||||
if (!bp1) {
|
||||
bp1 = breakpoint_new(task, next_pcs[0], NULL, SW_BP);
|
||||
bp1 = breakpoint_new(task, next_pcs[0], NULL, BP_SW);
|
||||
if (!bp1)
|
||||
return -1;
|
||||
}
|
||||
@ -703,7 +703,7 @@ int do_singlestep(struct task *task, struct breakpoint *bp)
|
||||
if (next_pcs[1]) {
|
||||
bp2 = breakpoint_find(task, next_pcs[1]);
|
||||
if (!bp2) {
|
||||
bp2 = breakpoint_new(task, next_pcs[1], NULL, SW_BP);
|
||||
bp2 = breakpoint_new(task, next_pcs[1], NULL, BP_SW);
|
||||
if (!bp2)
|
||||
return -1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user