From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11503 invoked by alias); 17 Mar 2009 11:44:57 -0000 Received: (qmail 11495 invoked by uid 22791); 17 Mar 2009 11:44:56 -0000 X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_05,BOTNET,RDNS_NONE X-Spam-Check-By: sourceware.org Received: from Unknown (HELO andromeda.onevision.de) (212.77.172.62) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 11:44:49 +0000 Received: from [192.168.5.120] (kgi05104.onevision.de [192.168.5.120]) by andromeda.onevision.de (8.14.2/8.12.9/ROSCH/DDB) with ESMTP id n2HBikUC009899; Tue, 17 Mar 2009 12:44:46 +0100 Message-ID: <49BF8D2D.1020605@onevision.de> Date: Tue, 17 Mar 2009 11:44:00 -0000 From: Roland Schwingel User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Kai.tietz@onevision.com, gdb Subject: Re: gdb_assert when resetting breakpoints Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-03/txt/msg00100.txt.bz2 Hi Kai, Kai Tietz wrote on 17.03.2009 11:24:25: > Roland Schwingel wrote on 10.03.2009 15:02:40: > > > Hi... > > > > When using current gdb cvs head sources I encounter a gdb_assert() in > > breakpoint.c line 7451. > > This is in function breakpoint_re_set_one(). > > > > ... > > > > Thanks in advance for your help, > > > > Roland > > Hi, > > I prepared a patch for this issue, which should solve the described > problem of Roland. > > Changelog: > > 2009-03-17 Kai Tietz > > * breakpoint.c: take care about multiple breakpoints > possibilities when resetting breakpoints. > > > Is this patch ok for apply? > > Cheers, > Kai Thanks for your patch and your work. I just tried it and it works without trouble and solves the problems in resetting the breakpoints for me. It looks quite similar to what I did for myself. I couldn't find a problem upto now with your patch. I think it would be could if this could make it to gdb's mainline. Others might also profit from that. Thank you very much, Roland