add cmd support, use xibugger like gdb.

pull request to myself...

let me try :D