On 17/06/11 10:39, Sam Ravnborg wrote:
Is it possible to bebug multi-threaded applications using gdb on ARM these days? We have had trobules getting this to work - but I do not have the details at hand atm. I am just curious if this is supposed to work or not. We have an arm target running: 2.6.32.8 #1 PREEMPT CPU: ARM926EJ-S rev 5 (v5l) (Atmel AT91SAM9263) The kernel is only lightly modifed - mostly with a few propriatary drivers and a few driver hacks (not suitable for mainline). It is a long story why we use such an old version. Our applications uses threads and we use glibc 2.10.1 with NPTL enabled. So far we have survived using the powerfull printf debugging :-) Sam
It works for me, using various ARM 926 and Cortex A8 chips and kernel versions from 2.6.27 to the present day. Which version of gbd do you have? gdb version 7.x works much better than 6.x in my experience.
Chris Simmonds -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html