projects
/
pygdb.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2021af9
)
fixing endless loop bug
v0.99.3
author
Stefan Huber <shuber2@gmail.com>
Thu, 26 Jun 2008 09:09:09 +0000
(11:09 +0200)
committer
Stefan Huber <shuber2@gmail.com>
Thu, 26 Jun 2008 09:09:09 +0000
(11:09 +0200)
GdbTerminal.py
patch
|
blob
|
history
diff --git
a/GdbTerminal.py
b/GdbTerminal.py
index abf01e34776b597382c063ddd875c872472d2ea7..af0368bdcaa670154ab2ca9d49ebd71c4178a64c 100644
(file)
--- a/
GdbTerminal.py
+++ b/
GdbTerminal.py
@@
-113,13
+113,18
@@
class GdbTerminal (DbgTerminal.DbgTerminal):
no = string.split(line)[0]
#This line does not contain the file!
+ #Check for next line...
if not rxpos.search(line):
+ i += 1
+ if not rxpos.search(line):
+ i += 1
continue
pos = string.split(line)[-1]
[file,lineno] = string.split(pos,":")
cond = None
+ #Look for conditions
if i+1<len(bplines) and rxcond.search(bplines[i+1]):
i +=1
line = bplines[i]