On Tuesday 21 July 2009 10:40, Guillaume Dargaud wrote: > Hello all, > I need some help with gdb. > I'm using a busybox/uclibc compiled last year and I'm trying to figure out > why one of my own multithreaded apps locks up regularly. > > How can I trigger a core dump on a running process ? > I tried variations of > # ulimit -c unlimited > # kill -QUIT pid; kill -ILL pid... > But no core dump is produced.
kill -ABRT? > Then I tried attaching to the running process: > gdb Application pid > This time gdb does a core dump... on itself > Same thing if I try "attach pid" within gdb This must be a bug in gdb. > Actually gdb is missing something (important?): > # gdb > dlopen failed on 'libthread_db.so.1' - File not found > GDB will not be able to debug pthreads. > GNU gdb 6.6 > This GDB was configured as "powerpc-linux-uclibc". > > How can I get this libthread_db.so.1 ? I don't know. This is not a question for [email protected] -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
