show backtrace in source view
[pygdb.git] / DbgTerminal.py
index 5cc7b279e5e41f636c05ee8c95967a38309fe4e1..5c5cbd2968e0c7ae1de392087f857e5f2a7aa5b2 100644 (file)
@@ -214,6 +214,9 @@ class DbgTerminal (vte.Terminal):
        def listCodeSnippet(self):
                raise NotImplementedError()
 
+       def getBacktrace(self):
+               raise NotImplementedError()
+
        def waitForPrompt(self, his):           
                raise NotImplementedError()
 
@@ -237,6 +240,11 @@ def quitHandler(*w):
        except:
                pass
 
+
+def updateVim():
+       os.system('gvim --servername pygdb --remote-send "<ESC> :GDBLoadConfig<CR>"')
+
+
 def relToAbsPath(absfile, relfile):
        """When an absfile is given and a relfile is given by
        relative paths relative to absfile, determine the abs