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 c0d8493 commit 375f7af
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 375f7af

Please sign in to comment.