projects
/
pygdb.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d3609a9
)
fixing bug in breakpoint detection
author
Stefan Huber <shuber2@gmail.com>
Thu, 26 Jun 2008 09:53:03 +0000
(11:53 +0200)
committer
Stefan Huber <shuber2@gmail.com>
Thu, 26 Jun 2008 09:53:03 +0000
(11:53 +0200)
GdbTerminal.py
patch
|
blob
|
history
diff --git
a/GdbTerminal.py
b/GdbTerminal.py
index af0368bdcaa670154ab2ca9d49ebd71c4178a64c..f8a8614e1f3c7dd1040f616d52987233894fe74d 100644
(file)
--- a/
GdbTerminal.py
+++ b/
GdbTerminal.py
@@
-95,7
+95,7
@@
class GdbTerminal (DbgTerminal.DbgTerminal):
bplines = self.__getAnswerFromCmd("info breakpoints\n")
rxbp = re.compile("^\d+\s+breakpoint")
- rxpos = re.compile("^.*at
\S+:\d+$")
+ rxpos = re.compile("^.*at
\s+
\S+:\d+$")
rxcond = re.compile("^\s+stop only if")
bpnts = []
@@
-116,6
+116,7
@@
class GdbTerminal (DbgTerminal.DbgTerminal):
#Check for next line...
if not rxpos.search(line):
i += 1
+ line = bplines[i]
if not rxpos.search(line):
i += 1
continue