From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id g/0aCf9+nWcnwiAAWB0awg (envelope-from ) for ; Fri, 31 Jan 2025 20:55:11 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=JHrP98Ih; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 16EEA1E05C; Fri, 31 Jan 2025 20:55:11 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.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 ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 680B61E05C for ; Fri, 31 Jan 2025 20:55:10 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 02AB83858C35 for ; Sat, 1 Feb 2025 01:55:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02AB83858C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1738374910; bh=qjz/CJIIo6sPfJisGeP9WIZVXEbnVGIC2gzAuFz2WE4=; h=To:Cc:Subject:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=JHrP98Ihgsz92UVh0LFiLu35dx1HtwweYsEg0kJrUpw2LJL6AGUNHOIQdhAPfMU8t 22zmn4LsBRTGtrqYQVVZK0u5/dz/smOeGNrdxerBbvxT40ANhIXFI6Ax3gKeISgIM6 hfA/TlyPdxjwV9iRCW8m1tTdOecxzlKu8uzGPdx0= Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id 1192A3858D37 for ; Sat, 1 Feb 2025 01:53:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1192A3858D37 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1192A3858D37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738374832; cv=none; b=sRnSlW52QxQOAIiinPSBsnEUGokO/Z9OvLRbBzBRxYsg3CXx6kBQbg9bNDghYVJS1w6bSYoEK75vh4HLGhH3tVca51wbh8dt5r+92Iwww83ebfwrRInmtvWcUdN+szXsWdzaB2JUsv/p5v1GvRmD1Y+qsouOU20UHFubxjWxg10= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738374832; c=relaxed/simple; bh=0xArBgP49d75Z+1cQ01EJun1c6N8+jo9rMoNy1YzovE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=O8xYr46fOi1FU5lT0KNX3z090rHTRokfHEwujZHiethonDQa/kE052N/QQyuNnWI4TumFFevFiHMI4vastr8sP8ufjSs9JVUy6MIMxboXl3gKwZ64NibmPqa9964Qtfph+trIg3yWLxwYYwXYbNdBfTn9SLN+KQA9BTPKBaJVgA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1192A3858D37 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-219f8263ae0so49341295ad.0 for ; Fri, 31 Jan 2025 17:53:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738374831; x=1738979631; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qjz/CJIIo6sPfJisGeP9WIZVXEbnVGIC2gzAuFz2WE4=; b=JiCjXl/iMrbeY1EplhgV6yIuRxBE3BgKzNx0lGlo7AkJxaenPqUlI4L8AJeGzF0QFf Bk+5tSGi18jS9lLhGKnsBioMoPhsVzCWOHr09KoqLIEwF3VenQvrx1Yf+xx+bJnQbF+D 9DadNSEQz/RKQgQGU5j7MknHDqSrlH03ufSGqBhDiCZulVjAcqSRFj5KfpGC22LrrzBK aiDIL6buzIzDeFGxZTbZyr/+0b+FyNr55OvD38UJpd5ooSikSZQyXX3l43vKPJM/P0/p Dk7s91cTO0fK4TaWzS0uHjSzlnbjJD2WjAI9ZUt163XD6cqjxMyPGhHbrBFoYoIgcuWo 9zAw== X-Gm-Message-State: AOJu0Yxq4ptbDTorpSLkyk4sPeiBeh6DRgri2IW5dCyULAA2mE9OYVUR D5/5T64PeKtOOtbtTzMmOAja1LCFBizZN7bnpszlHRtGEGDzI/qdkb5tHsV3Mw5zpereihUA7IL 6 X-Gm-Gg: ASbGnctqD5vSZZq7bZ8fnNAZ17nIixX/jkLhFwmWPEzox8gicio2uxltoADN9USlkus iZhUwrXVbfPPagtzyPZMj0bYiyFAovghQw5i1iCUmGbtO8Y+QiVvXfWWwHsee9J8Ao+g8k77KI1 5mdrbCSZxnmIlzEIVW5pfnzGkMyq6eZszl0FsTUyIQaPZJuScdXdCnCz5T4CZORyj3Rds8qpWYx S45XPW5YQ9kjW2ZwPMfKTJRL0JIMFaTzOmW/jnWXmZnQN8HDp/lxI0GI8VI4o800fnKeigPhz0A mqKBUfuCWLXYscI4Ee56e/fdiA== X-Google-Smtp-Source: AGHT+IFoeOhRxTmJw8MjiCzcgZYI5m2QtskE0JnOSpjVFXCjxQaD9v0hXshNNbzuQe90iJuqdneJ7w== X-Received: by 2002:a05:6a20:7fa8:b0:1e0:d9a0:4ff7 with SMTP id adf61e73a8af0-1ed7a6e0b20mr23720282637.32.1738374830732; Fri, 31 Jan 2025 17:53:50 -0800 (PST) Received: from localhost ([2804:14d:7e39:8470:f133:aafb:2be5:4aa4]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-acec04777e8sm3748741a12.59.2025.01.31.17.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jan 2025 17:53:50 -0800 (PST) To: Li Hua via Gdb Cc: "bug-gdb@gnu.org" , Li Hua Subject: Re: bugs happen when building in darwin In-Reply-To: (Li Hua via Gdb's message of "Sat, 1 Feb 2025 00:29:50 +0000") References: User-Agent: mu4e 1.12.8; emacs 29.4 Date: Fri, 31 Jan 2025 22:53:47 -0300 Message-ID: <87a5b6ctw4.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thiago Jung Bauermann via Gdb Reply-To: Thiago Jung Bauermann Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hello, Li Hua via Gdb writes: > 3:Error(happen when do the 'make' processs): > darwin-nat.c:1949:21: error: use of undeclared identifier 'command_style' > styled_string (command_style.style (), "run"), > ^ > darwin-nat.c:1950:21: error: use of undeclared identifier 'command_style' > styled_string (command_style.style (), > ^ > darwin-nat.c:1959:20: error: use of undeclared identifier 'command_style' > styled_string (command_style.style (), "run"), > > > To this problem, I have personally tried to fix it. And I found the reason causing this error is that the header file "cli/cli-style.h" doesn't been included in "darwin-nat.c". When I add the line '#include "cli/cli-style.h"' > , the error disappears. > > Thank you for reading this. Looking forward your reply. Thank you for your detailed report! This has also been reported a few days ago here: https://sourceware.org/bugzilla/show_bug.cgi?id=32610 The fix you mention has been committed. A new GDB 16.2 release will be done shortly that will include it. As an aside, the bug-gdb mailing list has been discontinued. In the future, it's best to either file a new bug report https://sourceware.org/bugzilla/ or send an email to the gdb@sourceware.org mailing list. -- Thiago