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

Daniel Jacobowitz
2001-12-17T16:34:30Z

On Sun, Dec 16, 2001 at 10:30:38PM -0700, Kevin Buettner wrote:
> On Dec 16, 8:56pm, Daniel Jacobowitz wrote:
>
> > My instinct was "there is support in corefile-specific code for
> > handling threads. It works just fine; use it." It's been there since
> > 1993. Does it have any current consumers? I think it must, since
> > Kevin touched it in May and mentioned some sort of regressions.

> - Second, I saw some regressions on Solaris due to the fact that
> corelow.c was storing some corefile thread identifiers
> in inferior_pid. On Solaris 8, more than 16 bits are needed to
> represent these identifiers. For this case, I introduced some
> #ifdefs in corelow.c which use inferior_ptid (renamed from
> inferior_pid) "as is" without any masking. I plan to eliminate
> these ifdefs as part of phase 3. (Or I could even do it as a
> phase 4, if desired.)

OK, Solaris uses corelow. I didn't realize that. Thanks.