Naming Names - How?
- Problem: there is no thread name support in Linux's pthreads...
- ...in a program with tens of threads, how do we find the thread we want
to debug?
- Using 'info threads' will give a pile of crap, since the current function
may not tell us which thread it is.
- Solution: using gdb used-commands, gdb's logging and an external (Perl)
script.
Originally written by
guy keren