From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Thu, 25 Nov 2021 15:33:15 -0000 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