adding updating of breakpoint list
[pygdb.git] / DbgTerminal.py
index 69fa8339c61dc905e744390520dfb5fa5e5bdc77..7c494458000fb40005486ea9f8b85f64849ec4ee 100644 (file)
@@ -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)
 
-
+