11 import MainControlWindow
15 def launchDebugger(clientCmd
):
17 dbgterm
= GdbTerminal
.GdbTerminal(clientCmd
)
20 mainCtrlWnd
= MainControlWindow
.MainControlWindow(dbgterm
)
21 statusWnd
= StatusWindow
.StatusWindow(mainCtrlWnd
, dbgterm
)
23 #Register callback function for new positions
24 mainCtrlWnd
.newPosCbs
+= [statusWnd
.updateValues
]
30 if __name__
== "__main__":
32 #Check if enough arguments are given
33 if len(sys
.argv
) <= 1:
34 print "Please give executeable to debug."
38 clientCmd
= string
.join(sys
.argv
[1:])
39 launchDebugger(clientCmd
)