This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] Delete keep_thread_db
- From: "M.M. Kettenis" <m dot m dot kettenis at alumnus dot utwente dot nl>
- To: "Michael Snyder" <msnyder at redhat dot com>, "Andrew Cagney" <cagney at gnu dot org>, gdb-patches at sources dot redhat dot com, kettenis at gnu dot org
- Date: Wed, 08 Sep 2004 07:00:00 +0000
- Subject: Re: [rfa] Delete keep_thread_db
Michael Snyder <msnyder@redhat.com> wrote:
> Andrew Cagney wrote:
> > It would appear that, at one stage, this variable had something to do
> > with corefiles, static programs and threads. That's no longer the case
> > so this deletes the stray global.
> >
> > Tested on FC3 with no regressions,
> >
> > Ok?
> > Andrew
>
> I would have to defer to Mark Kettenis, since he added the
> variable, and from the ChangeLogs, seems to be the only one
> who's touched it.
The code defenitely was there to deal with static binaries. Andrew, how did you come to the conclusion that it is no longer useful? AFAIK there is no static threads test in the testsuite.
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.
So I'm not going to explicitly OK or this patch. Just rely on your own judgement here Andrew.
Mark