rx = re.compile("^Breakpoint |^No |^\(gdb\) ")
his, response = self.waitForRx(rx, his)
rx = re.compile("^Breakpoint |^No |^\(gdb\) ")
his, response = self.waitForRx(rx, his)
- #Wait again for gdb
- if response[0:5] != "(gdb)":
- his, response = self.waitForRx(rx,his)
+ #Wait again for (gdb)...
+ self.waitForActivation(his)
his, response = self.waitForRx(rx, his)
answer = self.history[his-1]
his, response = self.waitForRx(rx, his)
answer = self.history[his-1]
- rx = re.compile("^\(gdb\) $")
- endhis, reponse = self.waitForRx(rx,starthis)
+ rx = re.compile("^\(gdb\)")
+ endhis, response = self.waitForRx(rx,starthis)