From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13375 invoked by alias); 24 Jul 2011 18:04:13 -0000 Received: (qmail 13367 invoked by uid 22791); 24 Jul 2011 18:04:13 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Jul 2011 18:03:59 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id p6OI3thM032509; Sun, 24 Jul 2011 20:03:55 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id p6OI3rMR008990; Sun, 24 Jul 2011 20:03:53 +0200 (CEST) Date: Sun, 24 Jul 2011 18:16:00 -0000 Message-Id: <201107241803.p6OI3rMR008990@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: jan.kratochvil@redhat.com CC: gdb-patches@sourceware.org In-reply-to: <20110722215821.GA3433@host1.jankratochvil.net> (message from Jan Kratochvil on Fri, 22 Jul 2011 23:58:21 +0200) Subject: Re: [patch] workaround gcc46: prologue skip skips too far (PR 12435) #2 References: <20110722215821.GA3433@host1.jankratochvil.net> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00674.txt.bz2 > Date: Fri, 22 Jul 2011 23:58:21 +0200 > From: Jan Kratochvil > > 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?