Skip to content

Commit

Permalink
Temporary fix for #53
Browse files Browse the repository at this point in the history
  • Loading branch information
korcankaraokcu committed Nov 29, 2018
1 parent c2fd165 commit 3df3bf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libPINCE/GDB_Engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,9 @@ def get_breakpoint_info():
returned_list = []
multiple_break_data = OrderedDict()
raw_info = send_command("-break-list")
# Temporary fix for https://sourceware.org/bugzilla/show_bug.cgi?id=9659
# TODO:Delete this line when gdb or pygdbmi fixes the problem
raw_info = re.sub("script={(.*?)}", "script=[\g<1>]", raw_info) # Please refer to issue #53
for item in SysUtils.parse_response(raw_info)['payload']['BreakpointTable']['body']:
item = defaultdict(lambda: "", item)
number, breakpoint_type, disp, enabled, address, what, condition, hit_count, enable_count = \
Expand Down

0 comments on commit 3df3bf6

Please sign in to comment.