I'm trying to debug a hanging, multithreaded process. Unfortunately, if
I try to attach gdb to it, gdb just hangs:
$ gdb -p 12747
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>. Attaching to process 12747
Anyone able to help?
System is Linux 2.6.31.
»Time flies like an arrow, fruit flies like a Banana.«