Re: [yocto] Debug with gdbserver

2012-08-01 Thread Darren Hart
On 08/01/2012 03:34 PM, Khem Raj wrote: > > On Aug 1, 2012, at 10:16 AM, Darren Hart wrote: > >> >> >> On 08/01/2012 10:09 AM, Khem Raj wrote: >>> On Wed, Aug 1, 2012 at 9:22 AM, Darren Hart wrote: (gdb) target extended-remote 127.0.0.1:1234 >>> >>> this should be ip of target which in y

Re: [yocto] Debug with gdbserver

2012-08-01 Thread Khem Raj
On Aug 1, 2012, at 10:16 AM, Darren Hart wrote: > > > On 08/01/2012 10:09 AM, Khem Raj wrote: >> On Wed, Aug 1, 2012 at 9:22 AM, Darren Hart wrote: >>> (gdb) target extended-remote 127.0.0.1:1234 >> >> this should be ip of target which in your case is qemu prolly >> something like 192.168.7.

Re: [yocto] Debug with gdbserver

2012-08-01 Thread Darren Hart
On 08/01/2012 10:09 AM, Khem Raj wrote: > On Wed, Aug 1, 2012 at 9:22 AM, Darren Hart wrote: >> (gdb) target extended-remote 127.0.0.1:1234 > > this should be ip of target which in your case is qemu prolly > something like 192.168.7.2 or somesuch > I was trying to use the "redir" feature of q

Re: [yocto] Debug with gdbserver

2012-08-01 Thread Khem Raj
On Wed, Aug 1, 2012 at 9:22 AM, Darren Hart wrote: > (gdb) target extended-remote 127.0.0.1:1234 this should be ip of target which in your case is qemu prolly something like 192.168.7.2 or somesuch ___ yocto mailing list yocto@yoctoproject.org https://l

Re: [yocto] Debug with gdbserver

2012-08-01 Thread Darren Hart
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/31/2012 11:15 PM, Martin Jansa wrote: > On Tue, Jul 31, 2012 at 08:47:47PM -0700, Darren Hart wrote: >> >> >> On 07/31/2012 08:13 PM, Khem Raj wrote: >>> >>> On Jul 31, 2012, at 7:46 PM, Darren Hart >>> wrote: >>> I am trying to debug

Re: [yocto] Debug with gdbserver

2012-07-31 Thread Martin Jansa
On Tue, Jul 31, 2012 at 08:47:47PM -0700, Darren Hart wrote: > > > On 07/31/2012 08:13 PM, Khem Raj wrote: > > > > On Jul 31, 2012, at 7:46 PM, Darren Hart wrote: > > > >> I am trying to debug a userpsace application that misbehaves under > >> poky-tiny. My current approach is use gdbserver on

Re: [yocto] Debug with gdbserver

2012-07-31 Thread Khem Raj
On Jul 31, 2012, at 8:47 PM, Darren Hart wrote: > > > On 07/31/2012 08:13 PM, Khem Raj wrote: >> >> On Jul 31, 2012, at 7:46 PM, Darren Hart wrote: >> >>> I am trying to debug a userpsace application that misbehaves under >>> poky-tiny. My current approach is use gdbserver on the target and

Re: [yocto] Debug with gdbserver

2012-07-31 Thread Darren Hart
On 07/31/2012 08:13 PM, Khem Raj wrote: > > On Jul 31, 2012, at 7:46 PM, Darren Hart wrote: > >> I am trying to debug a userpsace application that misbehaves under >> poky-tiny. My current approach is use gdbserver on the target and attach >> to the offending process, then connect to it on the

Re: [yocto] Debug with gdbserver

2012-07-31 Thread Khem Raj
On Jul 31, 2012, at 7:46 PM, Darren Hart wrote: > I am trying to debug a userpsace application that misbehaves under > poky-tiny. My current approach is use gdbserver on the target and attach > to the offending process, then connect to it on the client using the > yocto-built native gdb for the

[yocto] Debug with gdbserver

2012-07-31 Thread Darren Hart
I am trying to debug a userpsace application that misbehaves under poky-tiny. My current approach is use gdbserver on the target and attach to the offending process, then connect to it on the client using the yocto-built native gdb for the target. I can easily add gdbserver to the target image, an