Mike Kadour <mjkadour@uwaterloo.ca> wrote:
Yes - pdebug and qconn are run on the target.
I can find the doc for pdebug, but where can I find information on qconn?
So I’ll try setting pdebug to something other than 8000. But how do I tell
the IDE the new port for pdebug?
Hi. You do not need to run both qconn and pdebug. Just run qconn. The
syntax is “qconn port=PORT_NUM”. You can verify it by telneting into
qconn:
$ telnet IP PORT_NUM
Connected to IP.
Escape character is ‘^]’.
QCONN
quit
Connection closed by foreign host.
$
The IDE always connects to qconn. GDB can also connect to qconn, and qconn
will recognize this and launch pdebug for you, provided pdebug is in qconn’s
PATH.
As for default port numbers, these are set (or not set) in /etc/inetd.conf
and /etc/services. So if you want to run qconn manually, make sure your
port does not conflict with any port that may be setup in your inetd.conf and
services files.
Regards,
GP
Also, besides compiling and debugging a “hello world” app, is there someway
to verify if the target->host link is working in the IDE?
Cheers,
Mike
“Chris McKillop” <> cdm@qnx.com> > wrote in message
news:am6p9d$h37$> 2@nntp.qnx.com> …
I assume you are invoking pdebug and qconn on the target right? Also,
qconn and pdebug share the same default port so ensure you use different
ones when you run them both.
chris
Mike Kadour <> mjkadour@uwaterloo.ca> > wrote:
Can the 6.2.0 IDE & qconn work over a PPP connection?
I have established a PPP link with the full TCP/IP stack.
I can ping target->host and host->target.
I run qconn with no command line options.
I run pdebug from /usr/bin.
I create a C/C++ App - Hello world and build
I run the remote debug with the IP address address and port 8000
and nothing happens - it just sits there saying it’s “Starting” the
application.
My host is QNX on x86, and target is StrongARM.
Thoughts?
Mike Kadour
\
Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/