From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id IWO3MQV4RWKVcgAAWB0awg (envelope-from ) for ; Thu, 31 Mar 2022 05:44:37 -0400 Received: by simark.ca (Postfix, from userid 112) id BA6081F163; Thu, 31 Mar 2022 05:44:37 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 F05861EFB9 for ; Thu, 31 Mar 2022 05:44:36 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 43606385741C for ; Thu, 31 Mar 2022 09:44:36 +0000 (GMT) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by sourceware.org (Postfix) with ESMTPS id 973203858C50 for ; Thu, 31 Mar 2022 09:44:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 973203858C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f54.google.com with SMTP id u3so32958196wrg.3 for ; Thu, 31 Mar 2022 02:44:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=VfQIj7tqE7Vz3f13J3t3OHdo/WdLYoTXl8tUeBXPfiE=; b=y6RKB1qOTiolIFjaW3++YEJkseIWbBMwV64t4EDAQllYVSWw1zGLOS+ClVvpEy+eQF S64skGhVTxPQZOjKqPDZEZpS8WmoP28j/EZFhdc7wFdkf14o/IseL5YLeAQbiLnWy9t8 1jeyKjYL2VK+KsEkYOkbvx4b2jtVSn/8u5rzJDhMw6EYIaCnWBzxeNXlfJQQZ+DaMsAG Zcp7S+4DmQke4t3HrA9wuHHiWVBWQM66sz0YyQHssGw/VQrQr+9I7DDsrBz0uGC+rjvn klGYL6SABKdkHYHWmXta+j5nBAdFsgYHfNAkm6MfqDZGoB1Kqa0sy/5cIs+suxU9XiYJ /cNg== X-Gm-Message-State: AOAM533C6kqz4RMiTiWAuBzpFC0eHCk9Aii7sGJUuOo61+gxgdVlnmu+ BeK5xyxFejHH4MyIC1z4dvh0VhaJF9Ecrg== X-Google-Smtp-Source: ABdhPJywUUCzJvVE7bVLpw0IQSgANkzLCe6eBkw549HfKcr9u/HgMPesnBBfMLf8yiV2EoKqJhnwvQ== X-Received: by 2002:a05:6000:1d83:b0:203:ed96:fa4c with SMTP id bk3-20020a0560001d8300b00203ed96fa4cmr3477408wrb.400.1648719863564; Thu, 31 Mar 2022 02:44:23 -0700 (PDT) Received: from ?IPV6:2001:8a0:f924:2600:209d:85e2:409e:8726? ([2001:8a0:f924:2600:209d:85e2:409e:8726]) by smtp.gmail.com with ESMTPSA id m2-20020a1c2602000000b0038ca9ffac53sm6913485wmm.11.2022.03.31.02.44.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Mar 2022 02:44:22 -0700 (PDT) Message-ID: <4f1b387d-8b63-47d6-79aa-93b27a2cdb9d@palves.net> Date: Thu, 31 Mar 2022 10:44:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: GDB 12.0.90 available for testing Content-Language: en-US To: Eli Zaretskii , brobecker@adacore.com References: <20220320055815.2A90FA4D6C@takamaka.home> <83sfr4a93r.fsf@gnu.org> <83o81m7icz.fsf@gnu.org> From: Pedro Alves In-Reply-To: <83o81m7icz.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2022-03-31 07:21, Eli Zaretskii via Gdb-patches wrote: >> Date: Sat, 26 Mar 2022 20:59:04 +0300 >> From: Eli Zaretskii via Gdb-patches >> Cc: gdb-patches@sourceware.org >> >> Second, one of the selftests fails: >> >> Running selftest dw2_expand_symtabs_matching. >> warning: charset conversion failure for 'u8fun├º├úo'. >> You may have the wrong value for 'set ada source-charset'. >> warning: could not convert 'yfunc ' from the host encoding (CP1255) to UTF-32. >> This normally should not happen, please file a bug report. >> >> AFAIU, this is because the names of these two functions are, >> respectively, in UTF-8 and in Latin-1, but the charset conversion >> thinks they are in CP1255. Where does the test tell the conversion >> functions what is the source encoding? > > Ping! Can someone please help me debugging this selftest failure? > Where should I look for the definitions of the host charset used by > this selftest? This is not really a failure, it's just a warning, though the message gdb prints sounds scary. I chatted with Tromey about it last week, and the issue is that there's a unit test that always exercises a symbol with a latin-1 character (0xff). I added that testcase originally, and IIRC, that was about making sure that the name lookup index was able to sort strings properly with the 0xff character, because the code does "ch+1" at some point in the sorting/lookup algorithm, which overflows in that case. It may be that fix is to make the unit test temporarily set the host charset, and also to remove that "should not happen" warning, as I think that it should be possible to come up with such symbol names with escape codes, thus it's not always really a bug. But in nutshell, this isn't really a GDB bug, and it shouldn't block the release.