Anyway, I don't care about this code anymore. I've given up on
debugging-with threads on Linux. thread-db.c should renamed into
linux-thread.c or somesuch. It, and lin-lwp.c have become a mess of
workarounds around workarounds around workarounds that probably only
work if you run a specific combination of glibc and patched kernel.
I do care about this code. It needs some major surgery, but it is
still useful (and, while fragile, not quite as fragile as all that). If
no one else is interested in maintaining it then I would like to.