On Thursday 09 February 2006 02:13 pm, Greg L wrote:
> > On Thursday 09 February 2006 12:29 pm, Greg L wrote:
> > > Is it possible to debug in scratchbox while using the QEMU-arm
> > > emulator? When I use gdb, it prints out "Don't know how to run.  Try
> > > 'help
> >
> > target'.",
> >
> > > and if I use the gdbserver, it prints out "Unsupported syscall: 26",
> >
> > then
> >
> > > refuses connections".
> >
> > 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
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to