This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]