From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1625 invoked by alias); 6 Feb 2010 18:41:06 -0000 Received: (qmail 1616 invoked by uid 22791); 6 Feb 2010 18:41:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-iw0-f178.google.com (HELO mail-iw0-f178.google.com) (209.85.223.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 06 Feb 2010 18:41:02 +0000 Received: by iwn8 with SMTP id 8so5118949iwn.13 for ; Sat, 06 Feb 2010 10:41:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.148.83 with SMTP id o19mr1052120ibv.39.1265481660351; Sat, 06 Feb 2010 10:41:00 -0800 (PST) In-Reply-To: <201002061626.06963.pedro@codesourcery.com> References: <20100201081928.GA9204@adacore.com> <20100203193934.GA12020@ednor.casa.cgf.cx> <201002061626.06963.pedro@codesourcery.com> Date: Sat, 06 Feb 2010 18:41:00 -0000 Message-ID: <8ba6bed41002061041ic55e083p4f03b6467b37df81@mail.gmail.com> Subject: Re: [gdb-7.1] 10 days to branching... From: Matt Rice To: Pedro Alves Cc: gdb@sourceware.org, tromey@redhat.com, Kai Tietz , Chris Sutcliffe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00043.txt.bz2 >> Kai Tietz wrote: >> This seems to happen on setting of >> breakpoint on Object-C methods in shared object. > >On Sat, Feb 6, 2010 at 8:26 AM, Pedro Alves wrote: > > This one's been described and diagnosed in > PR10966 > > The expr-cumulative work fixes this, but I listed in the PR > two possible quick workarounds. > > Has a small objc testcase been found yet? =A0It could > simply be something forgetting to set the sal's pspace > around decode_objc, but then I'm confused at how it only > triggers in some cases, and the objc tests in our > testsuite pass. =A0It could yet be another bug that > was masked out before the pspace assertion was added, > like the PR10966 bug. Sorry I can't really look into this atm, but if Kai is right, the tests I sent in the below link may reproduce as they set breakpoints on objc methods in shared libraries, maybe with some coercing to avoid the ambiguity problems e.g. using a unique method name I still need to update it to reflect Joel's comments later in the thread th= ough will get back to this when I can budget in some new hardware. http://sourceware.org/ml/gdb-patches/2009-09/msg00746.html