This is the mail archive of the cygwin mailing list for the Cygwin 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: glib errors with latest gdb


On Sep 12 14:40, Ken Brown wrote:
> On 9/12/2014 2:02 PM, Ken Brown wrote:
> >On 8/28/2014 9:57 AM, Corinna Vinschen wrote:
> >>On Aug 13 16:57, Corinna Vinschen wrote:
> >>>On Aug 13 10:28, Ken Brown wrote:
> >>>>I'm getting errors with the latest gdb when trying to debug programs
> >>>>that
> >>>>depend on glib.  Here's an example, run from an xterm window:
> >>>>[...]
> >>>I see this error, too.  Unfortunately I'm not a python guru so this
> >>>is rather opaque to me.  gdb itself doesn't provide a gdb.backtrace
> >>>method, afaics.
> >>>[...]
> >>I reported the problem upstream in a bugzilla entry already handling
> >>strange GDB hangs:
> >>
> >>   https://sourceware.org/bugzilla/show_bug.cgi?id=17247
> >
> >That bug appears to be something different.  But I managed to fix the
> >problem without actually understanding the code.  I looked at cgf's
> >patches from his build of gdb-7.6.50-4, and I noticed that some of his
> >changes didn't make it into your gdb-7.8-1.src.patch.  The missing ones
> >are collected in the attached "cgf.patch" file.
> >
> >If I apply that patch on top of your gdb-7.8-1.src.patch, the problem is
> >gone.  (The python warning is still there, but it seems to be harmless.)
> 
> I'm not sure when Corinna will be back from vacation, but if anyone wants to
> test my fix in the meantime, you can get it from my Cygwin repository:
> 
>   http://sanibeltranquility.com/cygwin/
> 
> There are instructions at that URL.

Belatedly "Thank You!" for tracking this down.  The fix is in gdb-7.8-2
released by Yaakov as you all know by now, I guess.  The original patch
when I took over the package consisted in most parts of renaming a variable.
This made the patch somewhat big so I thought it's a good idea to drop
the renaming parts from the patch... and missed two important snippets in
the code which did more than just renaming.  Duh.

So again, thanks Ken for tracking this down and thanks Yaakov for
building the fixed GDB package.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpzeeAp0_B4W.pgp
Description: PGP signature


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