Hello,

Is there some kind of hint about what is to be done in the "server startup 
script"-script? Now I have something like this there:

#!/bin/bash
$PROGRAMNAME=$1
$IPADDR=$2
scp $PROGRAMNAME root@$IPADDR:/tmp  || exit 1
ssh -t root@$IPADDR /usr/bin/gdbserver $IPADDR:2345 /tmp/"$PROGRAMNAME" &
exit 0

Is this correct? If I run this script in a console, then it works and the gdb 
server over ssh is running and I can connect to it using qt creator remote 
debugging. However, when setting this script to be run automatically, then the 
"ssh" process is being killed. It is gone before it tries to connect to it.
In the source code of qtcreator I seed that this is called "upload" script. So 
how should one make this work? Is there documentation about it?

I'm running Qt Creator 2.3.0.

Best regards
Tom,
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to