Skip to content

Commit 0ad9ecb

Browse files
authored
Merge pull request #29 from bradelkin/repair_parse_cmd_break_return_tuple
Fix the return tuples for parse_break_cmd
2 parents f9b8f87 + c4c1a3d commit 0ad9ecb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

trepan/processor/command/continue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class ContinueCommand(DebuggerCommand):
5252
def run(self, args):
5353
if len(args) > 1:
5454
# FIXME: DRY this code. Better is to hook into tbreak.
55-
func, filename, lineno, condition = parse_break_cmd(self.proc, args)
55+
func, filename, lineno, condition, offset = parse_break_cmd(self.proc, args)
5656
if not set_break(self, func, filename, lineno, condition, True, args):
5757
return False
5858
self.core.step_events = None # All events

trepan/processor/command/tbreak.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class TempBreakCommand(DebuggerCommand):
6666
complete = complete_break_linenumber
6767

6868
def run(self, args):
69-
func, filename, lineno, condition = parse_break_cmd(self.proc, args)
69+
func, filename, lineno, condition, offset = parse_break_cmd(self.proc, args)
7070
if not (func == None and filename == None):
7171
set_break(self, func, filename, lineno, condition,
7272
True, args)

0 commit comments

Comments
 (0)