Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 858FDE7C712 for ; Tue, 3 Feb 2026 11:52:51 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vnEx4-0007xb-0v; Tue, 03 Feb 2026 06:52:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vnEx0-0007tp-HV for qemu-arm@nongnu.org; Tue, 03 Feb 2026 06:52:11 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vnEwv-00057m-OO for qemu-arm@nongnu.org; Tue, 03 Feb 2026 06:52:09 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-64d1ef53cf3so6975008a12.0 for ; Tue, 03 Feb 2026 03:52:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1770119524; x=1770724324; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ruv1Ejeh4EyN1qePTlvxJYVwjWJP4ANv3Gjqm9WaH/s=; b=ZOWOVQG8O3R3Beyhbr0DfLC+y19xlLLLVcwPaq1axmuijbpfZkKCYBv9K5m6gJmkzQ pwYEiYDzyLML9UDfqoHSyOUDkpzTBnH9io+bClImN6JGdeVqY0RRtBFtvAa9zF2rnktS PWf+DxqNxB9GN1oMW5KBuNvIn0P0o5o1KsQD07r0STN2AG8IS7HFdOm/I72/QFiAiGbv 0HWCSQUxV6Amr+tf/WOwIUM/WC/ZCS335oCWaAlse+p9rKRh0/Qjq/yStsRjRhmM2AP5 7nR3OIKo1E+tkTKwrx13hvly32FUhNg9Zi6wrRfX3Yh8PEP5+Zs8Od82w1+fsme6Fmr6 DXOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770119524; x=1770724324; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Ruv1Ejeh4EyN1qePTlvxJYVwjWJP4ANv3Gjqm9WaH/s=; b=kKKrshKZa4dMvcTnECPAdirbnmszQIt4rkAh3ih0+8Kh34l2aL/25qgijuZP96hxn+ dtHmEvqM7cpr0hbxMBXnstMNkzETmmPq/xLaNR6nnIz+4UtmFAh9tivDZnSAWAHNWq7L 4WZ1FbH7cLiQa87lK4IuugSDiqypv46zemKHfR9p3hnHt1NScLxq7sf2PGYNY8gJnKU6 ZVQhxVxPUF+20N3aYwF7pEzUhdDhcO9lh/ZQZcf1iF4OIEBtYe1+Xew0jBjTdrbJecAk v88x+jg/cIGSq75ID9CcxNIItEuaz7zJUGEMhWDGnGGUb3zIOHZAo7OcQkC0a/x1mzZ0 1nXg== X-Forwarded-Encrypted: i=1; AJvYcCW8LWnMOKMrDs3pAsiEZtCW05m4ZwIu5v0O+yOmmGGMhoFs2jyB3nyXdbVJtBoDyPhCWwktOuLUDw==@nongnu.org X-Gm-Message-State: AOJu0YyOLazqThW0uZ+rtcUTb2gWRQ8bEH/ELaF2NpIweyczq43SV2Bc rvy5jdpu3KLUIpG+1h1+zOtCtZIXIg44leNOqvM0/zbT7pFR+76lSQlQy8Eh+PDzQAo= X-Gm-Gg: AZuq6aIe3PSjxPsAxYR6txuhmF65Jef/s2w2Nfp3tCbZtNpTTNQfkSzofxAf3SrsdL6 r82Y7zM44Jd5MNfVAVUYA9ExtmeqqljoeMLgMdailU+euCF9NJ51uMFZssVFqm+8BqIFtz6a4zW mcCiylwMu6IU5M4bdPRFAPzNCOphdpA0HwFx3/Hk0iW4Hzu9ZccWq2l6QNEZLCNXHml62HZVKOK TfUA/u9fj+TQPYrdX6ieP0wsKKDRYDTQ2HIBNup41RWTkFwfC/z5k4S8vV8dDhYTqEDb/aa+mdP t+yEZMHja65m0+CXvolwsjCKKwQrp401U1jLaL3zf531VfTYmAY+mE9eUUlRYAI//SkQ4ibJJb5 l1rhwqyICg0RK6G04c8CrZsCL0/HHkLIux2+FloTD86f8uNqdXGfIvj78sZlkQ2jTu4p7yaXYNq i95mZOi9OQADg= X-Received: by 2002:a17:907:3f17:b0:b8a:f3c0:c14 with SMTP id a640c23a62f3a-b8dff721f68mr889105166b.38.1770119523924; Tue, 03 Feb 2026 03:52:03 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8dbf2ecc73sm1039332166b.62.2026.02.03.03.52.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 03:52:03 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 26F4B5F844; Tue, 03 Feb 2026 11:52:02 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: John Snow , Pierrick Bouvier , qemu-arm@nongnu.org, Markus Armbruster , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , David Gibson , Nicholas Piggin , Wainer dos Santos Moschetta , qemu-ppc@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Peter Maydell , Cleber Rosa , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , "Edgar E. Iglesias" , qemu-s390x@nongnu.org, Thomas Huth , Paolo Bonzini , Akihiko Odaki , Daniel Henrique Barboza , David Hildenbrand , Ilya Leoshkevich , Richard Henderson , Laurent Vivier , Gustavo Romero Subject: [PATCH 01/11] meson-buildoptions: Remove duplicated entry of --gdb in the help text Date: Tue, 3 Feb 2026 11:51:51 +0000 Message-ID: <20260203115201.2387721-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260203115201.2387721-1-alex.bennee@linaro.org> References: <20260203115201.2387721-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Since --gdb has recently been added to meson_options.txt, the help text shows up twice in the output of "./configure --help": $ ./configure --help | grep gdb --gdb=GDB-path gdb to use for gdbstub tests [/usr/bin/gdb] --gdb=VALUE Path to GDB As the probed value is of interest we want to keep the configure text so make meson-buildoptions able to handle deferring to configure. Fixes: b46b3818cf8 ("tests/functional: Provide GDB to the functional tests") Signed-off-by: Alex Bennée Acked-by: Paolo Bonzini Reviewed-by: Gustavo Romero Reviewed-by: Thomas Huth Tested-by: Thomas Huth --- scripts/meson-buildoptions.py | 9 ++++++++- scripts/meson-buildoptions.sh | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/meson-buildoptions.py b/scripts/meson-buildoptions.py index e636d258e8a..9e3a75c8b11 100644 --- a/scripts/meson-buildoptions.py +++ b/scripts/meson-buildoptions.py @@ -53,6 +53,11 @@ "werror", } +# Options that configure prints help for, so we can skip +CONFIGURE_HELP = { + "gdb", +} + # Builtin options that should be definable via configure. Some of the others # we really do not want (e.g. c_args is defined via the native file, not # via -D, because it's a mix of CFLAGS and --extra-cflags); for specific @@ -189,7 +194,9 @@ def print_help(options): key = cli_help_key(opt) # The first section includes options that have an arguments, # and booleans (i.e., only one of enable/disable makes sense) - if require_arg(opt): + if opt["name"] in CONFIGURE_HELP: + pass + elif require_arg(opt): metavar = cli_metavar(opt) left = f"--{key}={metavar}" help_line(left, opt, 27, True) diff --git a/scripts/meson-buildoptions.sh b/scripts/meson-buildoptions.sh index 3d0d1323446..e8edc5252a3 100644 --- a/scripts/meson-buildoptions.sh +++ b/scripts/meson-buildoptions.sh @@ -58,7 +58,6 @@ meson_options_help() { printf "%s\n" ' --enable-ubsan enable undefined behaviour sanitizer' printf "%s\n" ' --firmwarepath=VALUES search PATH for firmware files [share/qemu-' printf "%s\n" ' firmware]' - printf "%s\n" ' --gdb=VALUE Path to GDB' printf "%s\n" ' --iasl=VALUE Path to ACPI disassembler' printf "%s\n" ' --includedir=VALUE Header file directory [include]' printf "%s\n" ' --interp-prefix=VALUE where to find shared libraries etc., use %M for' -- 2.47.3