Thanks for the help man.
Also what is a _exe file ? What generates it ? I was able to generate the gdbServer script for a running app, but when I got to running the command with runProc in it the device cannot find the _exe file and the command fails.
I figured it had something to do with running processes, the one I tried earlier was a very simple Helloworld app. So I tried the same with powerMgr:
app runProc powerMgr --exe=/bin/gdbserver – localhost:2000 /bin/powerMgr