This is the mail archive of the gdb@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: Problem with threaded program


Andrew Cagney <ac131313@cygnus.com> writes:

> > Daniel,
> > I don't know what the division of labor is between gdb and the
> > kernel for situations like this, so I can't comment on that.  I can
> > report, however, that the problem doesn't occur with gdb-4.18.  I
> > had previously tested with an old copy of gdb-4.18.  To remove one
> > possible difference, I have tested for the problem using copies of
> > both gdb-4.18 and gdb-5.1 built today under the 2.4.16 kernel.
> > gdb-4.18 works properly and gdb-5.1 shows the problem.  If the
> > problem is in the kernel, then 4.18 and 5.1 must be using different
> > capabilities ...
> >
> 
> Yes, very, very different:
> 
> >> The apparent 4.18 -> 5.0 ``breakage'' would have occured because GDB
> >> switched to using the thread-db/kernel interface.
> 
> best way to describe this is, unfortunatly, is ``radical
> surgery''. While the new implementation is significantly better and
> definitly worth the effort. however, it is showing up a few teathing
> problems.  Just make certain that your kernel/glibc are recent.

Doesn't help in this case.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.


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