From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10020 invoked by alias); 30 Aug 2013 16:28:05 -0000 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 Received: (qmail 10011 invoked by uid 89); 30 Aug 2013 16:28:04 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 30 Aug 2013 16:28:04 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7UGRxAP020954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 30 Aug 2013 12:28:00 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r7UGRv8C022326; Fri, 30 Aug 2013 12:27:58 -0400 Message-ID: <5220C80D.5030502@redhat.com> Date: Fri, 30 Aug 2013 16:28:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Muhammad Waqas CC: gdb-patches@sourceware.org Subject: Re: [PATCH with testcase] Bug 11568 - delete thread-specific breakpoint on the thread exit References: <521CF7D0.5040801@redhat.com> <1377692710-2885-1-git-send-email-mwaqas@codesourcery.com> In-Reply-To: <1377692710-2885-1-git-send-email-mwaqas@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-08/txt/msg00938.txt.bz2 While reviewing this, I noticed the new test fails for me: FAIL: gdb.threads/thread-specific-bp.exp: All stop: continue to breakpoint: set break here Investigating, I saw the problem is "info threads" messes up the current source for breakpoints: (gdb) PASS: gdb.threads/thread-specific-bp.exp: All stop: Breakpoint set break 32 Breakpoint 4 at 0x323dc08d90: file pthread_join.c, line 32. ^^^^^^^^^^^^^^^^^^^^^^^ (gdb) commands Does it actually pass for you? I can't see how. I've filed PR15911 for that and sent a fix: https://sourceware.org/ml/gdb-patches/2013-08/msg00935.html With that in place, your test passes, but there are a few things that'll need addressing. Stay tuned. -- Pedro Alves