From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Ts1WIaR8XGAHJgAAWB0awg (envelope-from ) for ; Thu, 25 Mar 2021 08:05:56 -0400 Received: by simark.ca (Postfix, from userid 112) id 7AC271EF7C; Thu, 25 Mar 2021 08:05:56 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BF38B1EF5D for ; Thu, 25 Mar 2021 08:05:55 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F11A43846410; Thu, 25 Mar 2021 12:05:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F11A43846410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1616673955; bh=PnuUATcGssnbgi6BWkXJQhcc3SMl0vmJ46Y/WWZV7u0=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=eM57+/E+Rw76PgHFQg7HtR9x1PAHicDE2CLGnXNWdenjS+2FX8jX6EJaiA4SpxDiM +onz1iYYFpyUe8iOW1G5DgP7ChDR4F7a+GqsNWujTlIfTEJNBM6+4fHeufaTovEe6m I/M3hjc32fbIsowBIFkpQk8D8Zjj4LZTmods2TAo= Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by sourceware.org (Postfix) with ESMTPS id 50BF23857C60 for ; Thu, 25 Mar 2021 12:05:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 50BF23857C60 Received: by mail-qt1-x82e.google.com with SMTP id 1so763224qtb.0 for ; Thu, 25 Mar 2021 05:05:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PnuUATcGssnbgi6BWkXJQhcc3SMl0vmJ46Y/WWZV7u0=; b=IaSglYpfooJp2mwl7B0Cy8qZme6uX/ur6Hb9zDpPFaQwSz2gPPjzvbvaj2U2YObnTv 92/qjs/VcWNoGoQrfYOfaim9mTBh+ZT1Low6LTj7OI6aajYDNn/fZwro1zalj4O5nNHx MUWaf4MYDYDeWIl1CsPRpiKgd/5lFyfh/60766bDVfykUaECH6tcpkuhtvB9eyeCi28G XNZimxNsX7HDaGBJKef1VSWdtm4JmO/lPqqRwm9f5lnBiKPh2Opb/uPvtQmjIvjxwN7H F1+dtcsh/ufOAzZpUXaI2CMzuZvWZxQw3kN3AYR1OwJWar6rpJPRzuPex6Fk3yYGYI6M 5GCw== X-Gm-Message-State: AOAM533DUTquoDaBPaDyh8V2DE04BEdaBYUdbGeBjVok8XqA0xm0Mr1O y9Ux0tvJM2ex5MG2iiPYIXOK7yfaKQZYMQ== X-Google-Smtp-Source: ABdhPJw7jn/zsE+Z2n89HYvwKZJPbPNQL7F9b5JoYIq9aUJVw72GP47OlJwBqgKEVHQEhjFssXWI6A== X-Received: by 2002:aed:31e2:: with SMTP id 89mr7430890qth.272.1616673951901; Thu, 25 Mar 2021 05:05:51 -0700 (PDT) Received: from ?IPv6:2804:7f0:4841:2841:9c7b:60f4:124f:3c69? ([2804:7f0:4841:2841:9c7b:60f4:124f:3c69]) by smtp.gmail.com with ESMTPSA id h11sm3331790qtp.24.2021.03.25.05.05.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Mar 2021 05:05:51 -0700 (PDT) Subject: Re: [PATCH] Add startswith function and use it instead of CONST_STRNEQ. To: Alan Modra References: <20210319063759.GM6791@bubble.grove.modra.org> <20210320070037.GR6791@bubble.grove.modra.org> <87wnu1k5z1.fsf@tromey.com> <20210321131254.GS6791@bubble.grove.modra.org> <87k0q0j5ql.fsf@tromey.com> <20210322120652.GV6791@bubble.grove.modra.org> <20210322225639.GY6791@bubble.grove.modra.org> <0520bcb8-1945-5f0f-87d1-14785b881c45@linaro.org> <20210325115413.GB5425@bubble.grove.modra.org> Message-ID: <6dc053a9-7998-e80f-8bfe-7504e667d5ec@linaro.org> Date: Thu, 25 Mar 2021 09:05:48 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210325115413.GB5425@bubble.grove.modra.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Luis Machado via Gdb-patches Reply-To: Luis Machado Cc: Tom Tromey , Alan Modra via Binutils , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 3/25/21 8:54 AM, Alan Modra wrote: > On Thu, Mar 25, 2021 at 07:53:04AM -0300, Luis Machado wrote: >> On 3/22/21 7:56 PM, Alan Modra wrote: >>> On Mon, Mar 22, 2021 at 01:13:00PM -0300, Luis Machado wrote: >>>> Just FTR, I'm seeing breakage in sim/aarch64 and sim/arm. Both are >>>> complaining about "-Werror=implicit-function-declaration" regarding strncmp >>>> and strlen. >>>> >>>> Is this the breakage you're talking about? Just so I know what to expect >>>> when it gets fixed. >>> >>> Yes. >>> >> >> Thanks. Are there plans to address this or should I come up with a patch? > > I posted a patch here > https://sourceware.org/pipermail/binutils/2021-March/115863.html > It's been tested with gdb, sim and binutils builds. > > Tom offered to solve the problem himself, so I'm waiting on that or > for someone in the gdb camp to review my patch. Since I messed this > up in the first place by taking a comment by Tom as a go-ahead rather > than first posting a patch for proper review by gdb maintainers, I'm > being a little cautious in committing the above patch. > Ah, I missed that patch. Let me give that a try with the arm/aarch64 sims and I'll let you know how that works.