Skip to content

Commit eb64f42

Browse files
authored
doc: fix elf API example remove_breakpoint call (#1765)
1 parent c7acd47 commit eb64f42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/api_examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ with ConnectHelper.session_with_chosen_probe() as session:
8484
assert pc == addr & ~0x01 # mask off LSB
8585

8686
# Remove breakpoint.
87-
target.remove_breakpoint()
87+
target.remove_breakpoint(addr)
8888
```
8989

9090
Note that you currently need to manually remove a breakpoint in order to step or run over it.

0 commit comments

Comments
 (0)