11 import MainControlWindow
15 if __name__
== "__main__":
17 #Check if enough arguments are given
18 if len(sys
.argv
) <= 1:
19 print "Please give executeable to debug."
23 clientCmd
= string
.join(sys
.argv
[1:])
24 dbgterm
= GdbTerminal
.GdbTerminal(clientCmd
)
27 mainCtrlWnd
= MainControlWindow
.MainControlWindow(dbgterm
)
28 statusWnd
= StatusWindow
.StatusWindow(mainCtrlWnd
, dbgterm
)
30 #Register callback function for new positions
31 mainCtrlWnd
.newPosCbs
+= [statusWnd
.updateValues
]