[patch] workaround gcc46: prologue skip skips too far (PR 12435) #2

Mark Kettenis mark.kettenis@xs4all.nl
Sun Jul 24 18:16:00 GMT 2011


> Date: Fri, 22 Jul 2011 23:58:21 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 
> Hi,
> 
> this is an improved patch of a former:
> 	[patch] workaround gcc46: prologue skip skips too far (PR 12435)
> 	http://sourceware.org/ml/gdb-patches/2011-03/msg01108.html
> 	cancel/FYI: Re: [patch] workaround gcc46: prologue skip skips too far (PR 12435)
> 	http://sourceware.org/ml/gdb-patches/2011-03/msg01123.html
> 
> For example `break error' does not work for debugging GDB with gcc-4.6.x.
> 
> As gcc-4.6.0 and now even 4.6.1 still has this bug and I have seen a user(s?)
> on non-Fedora platform asking about this bug and as there may be enough
> binaries out there (although it affects only -O0 -g compilation) coded it
> properly I have coded the workaround properly this time.
> 
> It does not solve overlays well, but the code just does not work for
> overlays, it has no other negative effect.

Sorry, but what do you mean with "overlays" here?



More information about the Gdb-patches mailing list