projects
/
pygdb.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing bug in breakpoint detection
[pygdb.git]
/
StatusWindow.py
diff --git
a/StatusWindow.py
b/StatusWindow.py
index 99382ff1d684c9caaa80aa99992398619e3138f4..f03c11c27d579173db6641aa42d5394b842d9e52 100644
(file)
--- a/
StatusWindow.py
+++ b/
StatusWindow.py
@@
-20,9
+20,10
@@
import WatchesFrame
class StatusWindow (gtk.Window):
class StatusWindow (gtk.Window):
- def __init__(self, debugger):
+ def __init__(self, debugger
, vimservername
):
gtk.Window.__init__(self)
gtk.Window.__init__(self)
+ self.vimservername = vimservername
self.debugger = debugger
self.debugger.gotActiveCallback += [self.updateValues]
self.debugger = debugger
self.debugger.gotActiveCallback += [self.updateValues]
@@
-101,7
+102,12
@@
class StatusWindow (gtk.Window):
self.fillConfiguration(conf)
conf.store(".pygdb.conf")
self.fillConfiguration(conf)
conf.store(".pygdb.conf")
-
DbgTerminal
.updateVim()
+
self
.updateVim()
+ def updateVim(self):
+
+ os.system('gvim --servername %s --remote-send "<ESC> :GDBLoadConfig<CR>"' % \
+ self.vimservername)
+