From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id t9OuFMasn2E9CgAAWB0awg (envelope-from ) for ; Thu, 25 Nov 2021 10:33:26 -0500 Received: by simark.ca (Postfix, from userid 112) id 4248B1F0CE; Thu, 25 Nov 2021 10:33:26 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A 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 620291EDEE for ; Thu, 25 Nov 2021 10:33:25 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0644D3858C60 for ; Thu, 25 Nov 2021 15:33:25 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id E9EA63858D35 for ; Thu, 25 Nov 2021 15:33:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E9EA63858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca Received: from [172.16.0.95] (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 63D331EDEE; Thu, 25 Nov 2021 10:33:13 -0500 (EST) Subject: Re: [PATCH 2/3] gdb: introduce target_waitkind_str, use it in target_waitstatus::to_string To: Vaseeharan Vinayagamoorthy , "gdb-patches@sourceware.org" , Simon Marchi References: <20211122162731.3316783-1-simon.marchi@efficios.com> <20211122162731.3316783-2-simon.marchi@efficios.com> From: Simon Marchi Message-ID: Date: Thu, 25 Nov 2021 10:33:12 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: tl 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: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2021-11-25 9:38 a.m., Vaseeharan Vinayagamoorthy via Gdb-patches wrote: > After this commit, I am seeing this error, when using gcc 4.8.5: > gdb/ada-tasks.c:998:10: error: enumeration value ‘ADA_TASKS_UNKNOWN’ not handled in switch [-Werror=switch] > switch (data->known_tasks_kind) > ^ > > The build/host/target setup is: > Build: x86_64 (Linux), using gcc 4.8.5 > Host: x86_64 (Linux) > Target: arm-none-eabi / aarch64-none-elf / aarch64_be-none-elf This would be fixed by this patch series, but it's waiting for review: https://sourceware.org/pipermail/gdb-patches/2021-November/183732.html Simon