pygdb does not save exec-line when quitting.
[pygdb.git] / pygdb.py
index 6b6f5d3d2953a45b2ec603e2d4eef31ffc850b9d..020001b80915c58bed7f08f5e8da150446a3a442 100755 (executable)
--- a/pygdb.py
+++ b/pygdb.py
@@ -21,7 +21,7 @@ def launchDebugger(clientCmd):
 
        #Create windows
        mainCtrlWnd = MainControlWindow.MainControlWindow(dbgterm)
-       statusWnd = StatusWindow.StatusWindow(mainCtrlWnd, dbgterm)
+       statusWnd = StatusWindow.StatusWindow(dbgterm)
        dbgterm.initialize()
 
        #Load configuration
@@ -34,6 +34,7 @@ def launchDebugger(clientCmd):
        #Store config
        conf = Configuration.Configuration()
        statusWnd.fillConfiguration(conf)
+       conf.delCurrpos()
        conf.store(".pygdb.conf")