Commit fac667a2 authored by Rhys Kidd's avatar Rhys Kidd Committed by zapb

Fix openocd.remove_breakpoint() functionality

Reported by pylint 2.4.4:
  openocd.py:172:31: E0602: Undefined variable 'address' (undefined-variable)
Signed-off-by: default avatarRhys Kidd <rhyskidd@gmail.com>
parent 52d1fb7f
......@@ -168,5 +168,5 @@ class OpenOcd:
else:
self.send('bp 0x%x %u' % (address, length))
def remove_breakpoint(self):
def remove_breakpoint(self, address):
self.send('rbp 0x%x' % address)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment