From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12607 invoked by alias); 2 Sep 2013 10:32:09 -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 12578 invoked by uid 89); 2 Sep 2013 10:32:08 -0000 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Sep 2013 10:32:08 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RDNS_NONE,SPF_HELO_FAIL autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1VGRQQ-0004V4-R1 from Muhammad_Waqas@mentor.com ; Mon, 02 Sep 2013 03:32:02 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 2 Sep 2013 03:32:03 -0700 Received: from [137.202.157.111] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server (TLS) id 14.2.247.3; Mon, 2 Sep 2013 11:32:00 +0100 Message-ID: <5224691A.3080105@codesourcery.com> Date: Mon, 02 Sep 2013 10:32:00 -0000 From: Muhammad Waqas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-Version: 1.0 To: Pedro Alves CC: 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> <5220C80D.5030502@redhat.com> <52240E9A.4030708@codesourcery.com> <52244EBE.1080107@redhat.com> <52245E5D.2030806@codesourcery.com> <5224675A.20104@redhat.com> In-Reply-To: <5224675A.20104@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2013-09/txt/msg00009.txt.bz2 On 09/02/2013 03:24 PM, Pedro Alves wrote: > So in your case the bug doesn't trigger because > set_current_sal_from_frame, called from print_stack_frame, does > nothing if the frame (in this case pthread_join's) doesn't have > a symtab: > > void > set_current_sal_from_frame (struct frame_info *frame, int center) > { > struct symtab_and_line sal; > > find_frame_sal (frame, &sal); > if (sal.symtab) > { > if (center) > sal.line = max (sal.line - get_lines_to_list () / 2, 1); > set_current_source_symtab_and_line (&sal); > } > } Hmm, Thanks Got it.