Behalf Of Inge Bjørnvall
>I want to run GDB with a misbehaving program, but have no native build
>system on Openslug (need to get a new disk again for that) - is it possible
>to use the cross build system and copy the source from there to the slug
>when debugging? Anyone done this and can give me pointers?
It's months since I did it, but it just worked - install gdb on the NSLU2,
use it. If you do need the source (I didn't) you will find it necessary to
tell gdb where it is - an NFS mount of the build directory is what I would
do. It may 'just work' if you run the program from the NFS share
(particularly if you make the mount have exactly the same pathnames on the
slug as on the NFS server...)
It's also possible, and probably more viable, to use gdb remotely (gdb is
big) - I haven't tried that but in a cross compile environment it is almost
certainly the best solution.
John Bowler <jbowler@...