X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=DbgTerminal.py;h=5c5cbd2968e0c7ae1de392087f857e5f2a7aa5b2;hb=382465d6c2f07b99c0263314405d1d8411072d23;hp=5cc7b279e5e41f636c05ee8c95967a38309fe4e1;hpb=ae13f1cd2401475e1fc58be3418fb349cd69fb98;p=pygdb.git diff --git a/DbgTerminal.py b/DbgTerminal.py index 5cc7b27..5c5cbd2 100644 --- a/DbgTerminal.py +++ b/DbgTerminal.py @@ -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 " :GDBLoadConfig"') + + def relToAbsPath(absfile, relfile): """When an absfile is given and a relfile is given by relative paths relative to absfile, determine the abs