This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: NPTL libthread_db changes for static debugging


On Mon, Jun 25, 2007 at 11:46:34PM -0700, Roland McGrath wrote:
> > I have a patch for GDB that fixes staticthreads.exp with a patched
> > glibc and has no regressions with an unpatched glibc.
> 
> If that is just making gdb robust to changing ti_tid values zero->nonzero
> for the same ti_lid, then it seems worth having regardless of the glibc
> resolution.  Since all ti_tid is really used for today is display, it seems
> to me it might as well be fully robust to whatever value it has at whatever
> time.

It's actually not that general.  It delays thread debugging
initialization until it sees a non-zero ti_tid.

> If the gdb change is a nonregressing robustness improvement with respect to
> libthread_db behavior, might as well put it in without delay regardless, no?

Yes.  Thanks for your help; I'll check it in today.

-- 
Daniel Jacobowitz
CodeSourcery


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