I am on linux on an embedded device. My architecture is armv5.
My fairly large (~30kloc) has some kind of heap corruption that happens over time.
I cannot run valgrind since my arch is not supported. I can only run a limited gdb since my app uses thread and the corruption most probably happens in one of the thread.
I get
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
libthread_db and libpthread come from my gnueabi toolchain.
I was wondering what was the best course of actions now. Should I keep trying to get libthread_db to work with gdb? Or is there some other tool like valgrind that I could use?