[oe] [Question] How can I use gebserver on oe?

Journeyer J. Joh oosaprogrammer at gmail.com
Tue Jun 17 13:17:49 UTC 2014


Hi list,

I am sorry, I figured out that I didn't attach a serial cable!!
I am sorry again. Please ignore my question for this.

Sincerely
Journeyer

----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------


2014-06-17 22:11 GMT+09:00 Journeyer J. Joh <oosaprogrammer at gmail.com>:

> Hi list,
>
> I am trying to use gdbserver on oe with gdb-multiarch on ubuntu PC.
>
> When I try to invoke gdbserver as shown below :
> / # gdbserver /dev/ttyS0 /usr/bin/my_app
>
> I get error message shown below :
> Process /usr/bin/my_app created; pid = 1046
> Could not open remote device: Invalid argument.
> Killing process(es): 1046
>
> How can invoke gdbserver correctly?
> There is no file /dev/ttyS0 so I tried with /dev/ttys0 It is shown below:
> (There exists /dev/ttys0)
>
> / # gdbserver /dev/ttys0 /usr/bin/my_app
>
> Process /usr/bin/my_app created; pid = 1060
> Could not open remote device: Input/output error.
> Killing process(es): 1060
>
> One thing I am not sure is /dev/ttys0
> I need to use serial but I don't know what device name should I use.
>
> Can any one shine some light on my problem?
>
> Thank you very much.
> ----------------------------------------
> Journeyer J. Joh
> o o s a p r o g r a m m e r
> a t
> g m a i l  d o t  c o m
> ----------------------------------------
>
>



More information about the Openembedded-devel mailing list