distribution/build: making debugging easier

Koen Kooi k.kooi at student.utwente.nl
Fri Oct 17 10:15:18 CEST 2008


Op 17 okt 2008, om 01:09 heeft Werner Almesberger het volgende  
geschreven:

> During last night's debugging chase, I noticed two small things
> our distribution/build could improve to make debugging easier:
>
> 1) Make vmlinux of the kernel build available. Doesn't have to be
>   at the same place as the uImage but should be easy to find from
>   there, e.g., in a subdirectory.

'opkg install kernel-vmlinux'

regards,

Koen


>
>
>   Without it, it's very difficult to use exactly the same kernel
>   as a bug reporter and at the same time have access to the
>   debugging symbols.
>
> 2) Our strace isn't quite in sync with the kernel. Three examples
>   from #2071:
>
>   317   SYS_294(0x3, 0x1, 0x2, 0xbec5dc4c, 0x4) = 0
>   317   SYS_283(0x3, 0xbec5dbde, 0x1d, 0, 0xbec5dbe0) = -1 ENOENT  
> (No such file or directory)
>   ...
>   317   mq_notify(1, {...})               = 3
>
>   The first two are sys_setsockopt and sys_connect. Not sure what the
>   third is, but mq_notify seems unlikely.
>
> Note sure if strace's system call mismatch is an OE or an OM problem.
>
> Thanks,
> - Werner
>
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.openmoko.org/pipermail/devel/attachments/20081017/e028add0/attachment.pgp 


More information about the devel mailing list