Re: [RFA] Don't use thread_db on corefiles

Andrew Cagney
2001-12-13T18:57:37Z

> This patch fixes a really frustrating internal error when you open the
> coredump of a multithreaded application. Depending on your kernel, either
> the core has threads (corefile.c supports this just fine) or it doesn't.
> Neither way will opening libthread_db work right.

Daniel, can you explain the problem? Thread-db should work on core
files (or realize it is silly and not open its self).

> This patch isn't quite complete, because strange things happen when you
> connect to a remote target too. But fixing that requires a little more
> fiddling.

Andrew