X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=GdbTerminal.py;h=58c3bbe13cdcad7b05ca023d6d172f4a38f938d5;hp=f8a8614e1f3c7dd1040f616d52987233894fe74d;hb=HEAD;hpb=5d8a5dbbe84a2c74de62e5c83eabd06081512e48 diff --git a/GdbTerminal.py b/GdbTerminal.py index f8a8614..58c3bbe 100644 --- a/GdbTerminal.py +++ b/GdbTerminal.py @@ -95,45 +95,47 @@ class GdbTerminal (DbgTerminal.DbgTerminal): bplines = self.__getAnswerFromCmd("info breakpoints\n") rxbp = re.compile("^\d+\s+breakpoint") - rxpos = re.compile("^.*at\s+\S+:\d+$") + rxpos = re.compile("at \S+:\d+$") rxcond = re.compile("^\s+stop only if") bpnts = [] - i = 1 - #Parse the resulting lines - while i