From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55971 invoked by alias); 20 Sep 2018 04:38:15 -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 55960 invoked by uid 89); 20 Sep 2018 04:38:14 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:790 X-HELO: mail-wr1-f66.google.com Received: from mail-wr1-f66.google.com (HELO mail-wr1-f66.google.com) (209.85.221.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Sep 2018 04:38:13 +0000 Received: by mail-wr1-f66.google.com with SMTP id v16-v6so7869476wro.11 for ; Wed, 19 Sep 2018 21:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FZRM0Y7ZS89W/vLnYRK8ptk1NWNRfrdH4R74nzwt/PI=; b=Oz/0+ElYUXhtp8iOPNZCwJqjaYtU/3oXXRnfn3eBtQVrEal195waHadJ645QTLFeA3 GUs2v14lQI7UxmrYntCl8P3KnmmhSOst+OZm7tD+iRdTkIrbkWCX8sUZFdIe6mgKpWRK 8xuFsf5ajc+KS/9K6Kdm1r+6r936Pqk8H/a3z0LUNtahaitEcZW3cWvZ7QCJkdH9yYbI 8vF+qJLNA89UzjTmji5Ed0K/WjLkEMK2J+YMGVpxfHcvM75e6hgUs8LEvFEjvIwzFyjF cUFzeyT34Luxhj19lpvG+zKQcW4Kkl+ADBm+dHvDVDn6e7givU0zIYpQjMnUPfmjaMkE EAiw== MIME-Version: 1.0 Received: by 2002:adf:8463:0:0:0:0:0 with HTTP; Wed, 19 Sep 2018 21:38:10 -0700 (PDT) In-Reply-To: References: <8b47dccf-0b34-9803-8417-42841dd924a7@FreeBSD.org> From: Rajendra SY Date: Thu, 20 Sep 2018 04:38:00 -0000 Message-ID: Subject: Re: [PATCH] [PR 23660] On FreeBSD platform missing implementation of thread-db support To: Pedro Alves Cc: John Baldwin , gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-09/txt/msg00725.txt.bz2 Pedro, I'll clean up the glibc workaround code. Thanks Regards, Rajendra On Wed, Sep 19, 2018 at 10:29 PM, Pedro Alves wrote: > On 09/19/2018 05:52 PM, Rajendra SY wrote: >> + /* True if we need to apply the workaround for glibc/BZ5983. When >> + we catch a PTRACE_O_TRACEFORK, and go query the child's thread >> + list, nptl_db returns the parent's threads in addition to the new >> + (single) child thread. If this flag is set, we do extra work to >> + be able to ignore such stale entries. */ >> + int need_stale_parent_threads_check; > > Surely FreeBSD doesn't need a workaround for a glibc bug. > > There are other references to glibc in the file. > > Thanks, > Pedro Alves