From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id rfbHAiftYGn1zTUAWB0awg (envelope-from ) for ; Fri, 09 Jan 2026 06:57:27 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XCnn+Rf8; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id EEC2D1E0B6; Fri, 09 Jan 2026 06:57:26 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 779EE1E048 for ; Fri, 09 Jan 2026 06:57:26 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id BB67D4BA2E1E for ; Fri, 9 Jan 2026 11:57:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB67D4BA2E1E Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XCnn+Rf8 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 65A714BA2E07 for ; Fri, 9 Jan 2026 11:57:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 65A714BA2E07 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 65A714BA2E07 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767959821; cv=none; b=XV/HDqrsOi4HW9StSZb+u4BeztBDZ0b1SH9f5LV8hYgvi0HLzH/EEJAEoAk+grBzvdcKjcDmtk8CEZxUW3FKHnajiqRUasPAfPGRRoJOpvB7xDaRqW9Ld9zcWt7hmhbmQRAc155EE2+05GrqQce38dAVJVbYmiJKu6AkUIHig8k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767959821; c=relaxed/simple; bh=ReOGNYR9C8QIosjiHb+9A3LR8pXawspzMTjA2CMOTOY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ttXS/Wh1UHWc9egltYac6WciZAj2uexQFIsCXCB8rtCa5eVrneY6032alaMalSWIf7ef5UeCNLzbGn4kRPN8BT0prLbyb6sPIv1WnyFGKKLleYiunYj1n5tgrgb4wI/BKvQS/ikgiS+PX2cS8/xD9DK/Lp1EYm/HKzfjg7gcjjo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65A714BA2E07 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767959821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vN9TRDhD0VJjReLDCIo612t0MCwU/acPKDS1YU0UBdM=; b=XCnn+Rf8vVXYVTcRSEO7oPr5mi0vy6XBSspa4BItlW9KpvKHGMDYrNYptyu/y4D5yTVYAG k2XgPbsHQRo4QKgdCxZSNLQvR567OC6sgqjOI6G8OsIoRaZvl+xGqzGAmg1ro24IxqzNQY pulKUG+lcigqx0K+fEfuvgrM5aFmMOQ= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-509-78PMHjHzPFCvv5BOC7pIAQ-1; Fri, 09 Jan 2026 06:56:59 -0500 X-MC-Unique: 78PMHjHzPFCvv5BOC7pIAQ-1 X-Mimecast-MFC-AGG-ID: 78PMHjHzPFCvv5BOC7pIAQ_1767959818 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (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 mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id B530E18003FD for ; Fri, 9 Jan 2026 11:56:58 +0000 (UTC) Received: from fedora.tailb97d54.ts.net (unknown [10.96.134.37]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7EC4F1800109; Fri, 9 Jan 2026 11:56:57 +0000 (UTC) From: Guinevere Larsen To: gdb-patches@sourceware.org Cc: Guinevere Larsen Subject: [PATCH v2 0/2] Add warning if the native target is not supported Date: Fri, 9 Jan 2026 08:56:19 -0300 Message-ID: <20260109115621.26003-1-guinevere@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: XVau9fHgK4gINlacdq3jRz3kYx4sje-_11ZhxB0rFCM_1767959818 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 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 Recently I was trying to conduct a new-user test, to figure out what things were stumbling blocks, and one of the users had a macbook. The user on their own would not have been able to understand what was the reason that they couldn't execute the inferior to debug it. This series aims to make it a little more obvious, by warning the user when GDB starts that there is no native target, and instructs the user on how to get a list of supported architectures, to know what they'll be able to remotely debug. For v2, instead of adding a new command, this series changes the help command, to make it print all available options if a command only accepts specific options. Guinevere Larsen (2): gdb: improve help text for set commands with limited options gdb: add warning when no native target is available gdb/cli/cli-decode.c | 10 ++++++++++ gdb/main.c | 5 +++++ 2 files changed, 15 insertions(+) base-commit: 0a48989147868b4c5afdb0f5b90696b543768381 -- 2.52.0