[maemo-developers] [maemo-developers] debugging on real 770 ?

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Thu Nov 17 11:34:09 EET 2005
Hi,

It's also possible to attach gdbserver to a process on the 770 and
use gdb on Scratchbox (with the same binary with symbols) so that it
talks with the gdbserver over the network. However, I have noticed that
attaching gdbserver succeeds only with some processes.

The advantage is that the runtime environment is really the 770, but you
need the symbols only on the Scratchbox copy of the binary.

-Kimmo

On Thu, 2005-11-17 at 08:05, ext maemo-developers-bounces at maemo.org
wrote:
> Hi,
> 
> > You can use gdb on the real N770,if you have a developer rootfs .
> 
> There are few limitations though.
> 
> Sometimes 770 runs out of memory when debugging a larger application.
> Swapping to a mmc or usb harddrive is bit hacky  but works.
> 
> Better option is to setup 770 to act
> as an CPU transparency device for your scratchbox. Then you
> can compile stuff inside SB, but it runs on real device. In this
> case setting up gdb in client server mode is easy and well
> documented in scratchbox.org
> 
> 
> Br,
> Sampo
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list