X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=DbgTerminal.py;h=7c494458000fb40005486ea9f8b85f64849ec4ee;hb=9a8e5a643a533e00a2c8fdd6f03ea7b7a5e5d649;hp=69fa8339c61dc905e744390520dfb5fa5e5bdc77;hpb=0024f43ac5834f611179587a6fc25385ee5bf4a5;p=pygdb.git diff --git a/DbgTerminal.py b/DbgTerminal.py index 69fa833..7c49445 100644 --- a/DbgTerminal.py +++ b/DbgTerminal.py @@ -17,6 +17,7 @@ import ClientIOTerminal class DbgTerminal (vte.Terminal): + isactive = True lastrow = 0 history = [] @@ -110,12 +111,24 @@ class DbgTerminal (vte.Terminal): def setQuit(self): raise NotImplementedError() - def setBreakpoint(self, file, lineno): + def setBreakpoint(self, file, lineno, condition=False): + raise NotImplementedError() + + def delBreakpoint(self, breakpoint): raise NotImplementedError() def getExpression(self, expr): raise NotImplementedError() + def waitForActivation(self, his): + raise NotImplementedError() + + def setActive(self, isactive): + self.isactive = isactive + + def isActive(self): + return self.isactive + def getLastLine(self): if len(self.history) == 0: return None @@ -125,7 +138,7 @@ class DbgTerminal (vte.Terminal): def feed_dbg(self, text): self.feed_child(text) - +