Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] remote debugging error message

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Xingxing Pan
> Sent: Monday, July 18, 2011 8:47 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: Re: [cdt-dev] remote debugging error message
> 
> Hi, I use printf found the meaning of the error message, which is
> "connection timeout" in Chinese.
> 
> I'm curious about the internal of automatic remote debug launcher.
> Dose it use Expect?

No, we don't use Expect.  The "Connection timeout" error is given from
GDB after it times out waiting for the target to accept the connection.

Since I see you are using port 2345, I'm guessing you are using
the automatic remote launcher.  This launcher uses RSE to start
gdbserver on your target, but you need to specify the full path
of gdbserver in the launch, for RSE to find it.

If you don't want to automatically start 'gdbserver' but want
to start it yourself, you can use the 'manual' remote launcher:
http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_choose_another_debugger_integration_for_CDT.3F



> 
> Thank you.
> 
> 2011/7/18 Xingxing Pan <forandom@xxxxxxxxx>:
> > Hi. I'm using eclipse remotely debugging a program on a 
> target board.
> > I get the following message.
> >
> > Failed to execute MI command:w
> > -target-select remote 192.168.20.239:2345
> > Error message from debugger back end:
> > 192.168.20.239:2345: 
> \350\277\236\346\216\245\350\266\205\346\227\266.
> > 192.168.20.239:2345: 
> \350\277\236\346\216\245\350\266\205\346\227\266.
> >
> > The error message is unreadable. Dose anyone know how is the error
> > message encoded?
> >
> > Thanks.
> >
> > Xingxing
> >
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

Back to the top