From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27557 invoked by alias); 10 Jun 2010 14:09:14 -0000 Received: (qmail 27546 invoked by uid 22791); 10 Jun 2010 14:09:13 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-ew0-f214.google.com (HELO mail-ew0-f214.google.com) (209.85.219.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Jun 2010 14:09:09 +0000 Received: by ewy6 with SMTP id 6so1609617ewy.12 for ; Thu, 10 Jun 2010 07:09:06 -0700 (PDT) Received: by 10.216.184.137 with SMTP id s9mr379557wem.68.1276178946442; Thu, 10 Jun 2010 07:09:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.167.144 with HTTP; Thu, 10 Jun 2010 07:08:46 -0700 (PDT) In-Reply-To: <20100607134011.GA10971@host0.dyn.jankratochvil.net> References: <20100503200201.GB30386@host0.dyn.jankratochvil.net> <201005232240.17414.pedro@codesourcery.com> <20100604191855.GA29142@host0.dyn.jankratochvil.net> <201006071250.31842.pedro@codesourcery.com> <20100607134011.GA10971@host0.dyn.jankratochvil.net> From: Frederic Riss Date: Thu, 10 Jun 2010 14:09:00 -0000 Message-ID: Subject: Re: [patch 1/3] Clear stale specific locs, not whole bpts [rediff] To: Jan Kratochvil Cc: Pedro Alves , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2010-06/txt/msg00242.txt.bz2 Hi ! On 7 June 2010 15:40, Jan Kratochvil wrote: > Checked-in: > =A0 =A0 =A0 =A0http://sourceware.org/ml/gdb-cvs/2010-06/msg00058.html Seems that this commit is partially broken. In non-stop mode, after deleteing a step breakpoint, GDB call print_it_typical () on a bpstat that references that moribund breakpoint. Looking at the print_it_typical () code, you'll quickly see that this means crash. It's very easy to reproduce: ------ foo.c --------------------------- int foo () { return 0; } int main (int argc, char *argv[]) { return foo (); } ------ foo.c --------------------------- gcc -g foo.c && gdb a.out -ex 'set non-stop' -ex start -ex n Cheers, Fred