Re: debugging multi threaded applicatiosn on arm - status?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Sam Ravnborg <sam <at> ravnborg.org> writes: > > >> Is it possible to bebug multi-threaded applications using gdb on ARM these days? > >> > > > > 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. > > We are using 6.8 - which may be the culprint. > Does it work with NPTL too? > Sam, why don't you describe what's not working? I guess you have a stripped libpthread and gdb isn't able to fetch the thread infos via libthread_db.so. On ARM you must not strip libpthread too much - see http://sourceware.org/gdb/wiki/FAQ question 6 Peter -- 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