On Thursday 09 February 2006 15:12, Greg L wrote:
> > > On 2/9/06, Jon Ringle < [EMAIL PROTECTED]> wrote:
> > > > Hi Greg,
> > > >
> > > >
> > > > Start your program like this:
> > > > [sbox-arm: ~] qemu -g 1234 program args...
> > > >
> > > > Then from another sbox session do:
> > > > [sbox-arm: ~] gdb program
> > > > (gdb) target remote localhost:1234
> > > >
> > > > Jon
> > >
> > > Thanks, that does get it to connect.  It doesn't load any symbols from
> >
> > the
> >
> > > program,though.  The program was built with debugging symbols.  If I
> > > run gdb on it directly I can see them, but can't run the program, and
> > > if I
> >
> > run
> >
> > > it with remote, I can run the program, but can't see any symbols.
> >
> > Are you sure that the program was built with -g and that it wasn't
> > stripped
> > afterwards?
> > $ file program
> >
> > Jon
>
> Here's what I'm doing:
>
>  [sbox-arm: ~] > g++ -g test.cpp -o test
>  [sbox-arm: ~] > qemu -g ./test
>
> Then, in another terminal:
>
> [sbox-arm: ~] > gdb
On 2/9/06, Jon Ringle < [EMAIL PROTECTED]> wrote:
No. Invoke this session with 'gdb ./test' as well.

That works, thanks.
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to