This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: Linux threads patch for GDB 4.18


Jim Kingdon writes:
> > How's the new job at Red Hat going?
> 
> Well enough for me, although you really should ask the gcc and gdb
> maintainers - since the point of having me here is, roughly speaking,
> to improve life for users and developers of gcc and gdb on Linux.

This is very good news. The reason I wanted to try your patch is that the gdb
from Red Hat 6.0/x86 (based on a patched 4.17) isn't stable enough when
debugging my multi-threaded C++ application.

> > I tried applying your patch to add Linux threads support to gdb-4.18, from:
> >     http://sourceware.cygnus.com/ml/gdb-patches/1999-q3/msg00177.html
> > 
> > I'm afraid it doesn't apply cleanly; are you sure you're diffing against the
> > official gdb-4.18 release? Here's what I got:
> 
> The "fuzz" messages are expected (if memory serves - I know I did lots
> of cut-and-paste to come up with that patch).

It wasn't hard to get the patch to apply, but I think it would be better not
to advertise it as being against 4.18, since it's really against an already-
patched 4.18. Thanks for the RPM tips; I'll grab the SRPM and have a look.

> Perhaps you would like to tidy up the patch and post a cleaner
> version.  If you can't figure things out, feel free to ask a more
> specific question, but as GDB is a community project I will give you
> the opportunity to take care of some of the legwork ;-).

Once I knew not to worry about the fuzz, your patch is easy enough to apply.
I'm afraid that debugging gdb is a bit beyond the scope of my current project;
hopefully LinuxThreads support will be in an official gdb release soon -- and
then we can all get some sleep!

Thanks,
Graham

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