From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68837 invoked by alias); 26 Nov 2019 20:33: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 68829 invoked by uid 89); 26 Nov 2019 20:33:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.4 required=5.0 tests=AWL,BAYES_00,ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_PASS,USER_IN_DEF_SPF_WL autolearn=ham version=3.3.1 spammy=HX-Languages-Length:806 X-HELO: mail-oi1-f195.google.com Received: from mail-oi1-f195.google.com (HELO mail-oi1-f195.google.com) (209.85.167.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Nov 2019 20:33:13 +0000 Received: by mail-oi1-f195.google.com with SMTP id s71so17892475oih.11 for ; Tue, 26 Nov 2019 12:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PlEKRJDrYc5t3sBoAJolH86D7zgukQwQIOkuwlUUuuY=; b=c19NkwLwnFchTS8P3nkkttsdLYxt1HBuNgEwZ3B2iNkIvF1ycdkOD4ML8ntAiEKeuO BL8ufyCbcLk0baoacCo7vTkH91Ye7Kg6b6NiSPxasJFtToxeYm/9AEvU/bA4IyP5Ch/d 6ygy/Kvf1EcGSk5qtwyW0yQISzQcK4Pfz6r92xeFw50nk253ugcwyOMIrJz8AMUi1xnF tLMCrkVEdFZXrS9973/Hb1terLRwjkt1n6Sm9C3cRC/i6Wy9bgXODnT1uKvfzTzXSfTi 07pC66jOE91Twqc5aZZ+8pyZpDAsGw3WToFfHB6sJhlSg9VD3dTNtZu80JJpk5FG6Ynz a3uQ== MIME-Version: 1.0 References: <20191126191029.10514-1-cbiesinger@google.com> <1fb3d076-99d4-c8f8-8d43-a4f2aff5072f@redhat.com> In-Reply-To: <1fb3d076-99d4-c8f8-8d43-a4f2aff5072f@redhat.com> From: "Christian Biesinger via gdb-patches" Reply-To: Christian Biesinger Date: Tue, 26 Nov 2019 20:33:00 -0000 Message-ID: Subject: Re: [PATCH] Simplify the IPA parts of the gdbserver Makefile To: Pedro Alves Cc: gdb-patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00926.txt.bz2 On Tue, Nov 26, 2019 at 2:29 PM Pedro Alves wrote: > > On 11/26/19 7:10 PM, Christian Biesinger via gdb-patches wrote: > > Instead of adding the Gnulib CFLAGS and partially undoing them, just > > don't add them. > > > > Currently the IPA uses gnulib headers, but not the function > replacements. What's the end goal you're after? Why is this > an improvement? Right. The end goal is https://sourceware.org/ml/gdb-patches/2019-11/msg00922.html -- I want to be able to call safe_strerror from more places, which means the implementation of safe_strerror needs to be able to call glibc's strerror_r. I suppose I could try adding it to UNDO_GNULIB_CFLAGS, maybe, but it seemed less confusing to change it like this. Christian