can't debug remotly (sometimes)

Hi,
Under DDD 3.3.2, I enter ‘target qnx ip_address:port’, I open my prog_g
soft and when I enter ‘run’ at gdb prompt, I get:
‘remote: No such file or directory’

What is the problem?

regards,
Alain.

When you’re debugging a remote target, you have to specify prog_g
relative to where it lives on the target. Also, specifying prog_g from
the command line sometimes confuses gdb. Try this (from where you built
prog_g):

<copy prog_g to the remote target, for the sake of argument
/dev/shmem/prog_g on the remote target>

gdb
sym ./prog_g
target qnx ip_addr:port
run /dev/shmem/prog_g

<debug to your heart’s content>

Daryl Low

Alain Bonnefoy wrote:

Hi,
Under DDD 3.3.2, I enter ‘target qnx ip_address:port’, I open my prog_g
soft and when I enter ‘run’ at gdb prompt, I get:
‘remote: No such file or directory’

What is the problem?

regards,
Alain.