From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id K+VHGR8kNmjZ4TYAWB0awg (envelope-from ) for ; Tue, 27 May 2025 16:44:15 -0400 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=vBa6zsxx; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 552DC1E11C; Tue, 27 May 2025 16:44:15 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.8 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_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 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 7F1A41E102 for ; Tue, 27 May 2025 16:44:14 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 090A5385B53A for ; Tue, 27 May 2025 20:44:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 090A5385B53A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1748378654; bh=zIUBCCyHvHL4MBOt5tCSmfByi3p+1+304NKRP1DSWug=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=vBa6zsxxnJyXdftPgw3d+fcDLdvCb09TE6C85KigTeh4+P/fSQJYtDgzXUvYUGJw+ kq7NhwGxlS1ogulALkKdkwsYyltz8Z+fkA1IaGeCb3LVFB8xvNkFNt5DbfYmRCj9e5 0PLuME53YRqhle657FNvQR+w3Mg3LzZHwS3U/MIs= 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 A3C8C385608B for ; Tue, 27 May 2025 20:43:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3C8C385608B ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A3C8C385608B ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748378603; cv=none; b=WyKVS0KRU9PcimWuFgiqnFOBYVqEnOYcVXISnGV4NexKa0eNMlwioTEJX06KeEaSI6uTzHh3JmvAJT8FrTOH3F5Kdk1clo/sJmeSDwTmaDhwE9za5j6d0gGJYF3sr8SSGw0aiGGzl2sHjGsgYdA/cz285NW/KtX0UudA1x8FWt0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748378603; c=relaxed/simple; bh=CB/omBdN05s1HhR6Mi3pm2cj/vl5kedvwpJCJ4H3KaQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=AnH+TPPFVYNCMYQIC18AF99N3vvJVgK8uyy99ORS8U4eUeML7YE5SSk/MxJe1BAJszsr+uclsEYOuGoB5ccSztyiC0/BCvwVG1FPxBPJGwcnmG5Bg3g4NHkbrb3GjoBnhbK/oQKu8BGTVMlRSlox3XzNgi+eFgR8MzmBlJ7bGGI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3C8C385608B Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-l1DMW2ldOBKRGCe9RgZRuw-1; Tue, 27 May 2025 16:43:22 -0400 X-MC-Unique: l1DMW2ldOBKRGCe9RgZRuw-1 X-Mimecast-MFC-AGG-ID: l1DMW2ldOBKRGCe9RgZRuw_1748378601 Received: by mail-ua1-f70.google.com with SMTP id a1e0cc1a2514c-87debcdc9c7so250780241.2 for ; Tue, 27 May 2025 13:43:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748378601; x=1748983401; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=zIUBCCyHvHL4MBOt5tCSmfByi3p+1+304NKRP1DSWug=; b=o/eOEUyDS0xAfuCMVCBPHG3nt/IvpeFOZnNm7aQqd0eQ1bAUXZlo/W8D4ulRDPMniP HfSmuZkk+Pc36O2HYN0ZxM8WuCpAUiB7PfUZtSAJzOzpeLRtR+Ky7qPUDpbhif4xLTyr 2J99+p9UXMIsb5BToNdD5pIbp48MBtoLwByGBPiq4Irw+zi/8rgZWykndnmw3r35afx7 FCxxcBVe1Fpwzo1VDVr0lY4WgSqhKjEb4HBr7yjbnrsaBVScVuKpbPxPyKKejiv9ENWj MtAl6TrJuSjIIkjeXlB7tYUTpVAgbXW8AaBpMjTjl/41HLYD6DDxF7wIFYEGyNQF8XO0 Ttfg== X-Gm-Message-State: AOJu0YxORp1HrTlTxIFtscsc6ZoaJ8ZHuOeiiat/3lgc0WhwGW3z+zWf P+BVGX+DhELoOJ9QmVS/B2vTHvOLLtv/ONPZ4Ti9lsXLQDY6zZk3YHk4TgDpD4kM4asXyG63bek xzLIoj155vzih15j1J7TMUCBDxuFd9VHCVKQTEkQYEXHX7dFUQDPQP58M12zuDWdzoIObiB6iaK 2sOgB4RIf3xWoBe+2H7qyt0nnEz49dZz4Bpz3olA== X-Gm-Gg: ASbGncusIUjzmwgtY0rSpde0+UOyKp5E5AoxQrXeDizQYfiK3S+bIpuS1sVYIlAY0NI O6G7bCdiFnBRwOXjplg75JKLKT0LnkixkZ4GFW/2DuF3yzFbo8kKcANmUt/ylfSfKqCgEx5VvzR gsupq4XaNtA8abAPfyjyyH3PgyQDK65jZI7TvNpHHfIu724j+bWQ5s7OE/7wds0m+8Yew3OgjC1 GMuTgt2Vj5rMpOqY2pQCrV7TxCrl29iGvwNennDxBvE/4+o5DNpohtOSt4Dr1mtzF9IZScVHSPj DIA0hmhQhzq7AfppbVVpcl8= X-Received: by 2002:a05:6122:6183:b0:52f:47de:3700 with SMTP id 71dfb90a1353d-52f47de37a2mr3727069e0c.5.1748378601318; Tue, 27 May 2025 13:43:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgPj7ZH0AI/kNvExb3d2bidFEg2yr+mHxY7IrGqonCen8hCBZMF1P974tD2PSukG1fLdR+FA== X-Received: by 2002:a05:6122:6183:b0:52f:47de:3700 with SMTP id 71dfb90a1353d-52f47de37a2mr3727059e0c.5.1748378600850; Tue, 27 May 2025 13:43:20 -0700 (PDT) Received: from ?IPV6:2804:14d:8084:9a69::1001? ([2804:14d:8084:9a69::1001]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-53064d69b45sm114009e0c.45.2025.05.27.13.43.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 May 2025 13:43:20 -0700 (PDT) Message-ID: <0bfd51f7-2246-475c-b171-8dde8474227a@redhat.com> Date: Tue, 27 May 2025 17:43:18 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: "gdb@sourceware.org" Subject: Improve GDB's first user experience by reducing "print_gdb_version" output X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 5UUC1pANC_WcGCUqLrhxXwBTzZvIHwgwRdNNjJ6ZQno_1748378601 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Guinevere Larsen via Gdb Reply-To: Guinevere Larsen Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hi all, I've been thinking about how to improve the user experience, especially for first time users. One thing that stands out to me is the very verbose first output a new user is greeted with: GNU gdb (GDB) 17.0.50.20250526-git Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at:     . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) For the *vast* majority of our users, only 4 of those lines are useful at all: the GDB version (to ask for help), where to find the documentation, the "help" command, and the "apropos" command. Arguably, where to report bugs could be useful, but the worst ones already print it and otherwise users are incredibly unlikely to report them (especially given the email requirements to create an account). Worthy of note, the important lines are the last ones, so even if a new user was eager enough to start reading everything, they'd likely gloss over everything assuming this entire thing is just copyright. I propose that the text be updated to something similar to this: GNU gdb (GDB) 17.0.50.20250526-git For a list of commands, use "help" For all commands related to a certain word, use "apropos word" For a thorough explanation of what GDB can do, check the manual at:     For information on GDB's copyright, warranty or configuration, use     "show copying/warranty/configuration" (gdb) This makes the text smaller, the start is more focused on what most users will be interested in, and keeps all the very relevant information still available for those interested. I'm sending this here in case there is some rule that forces us to write the copyright or free software status at initialization, before spending the time to turn this into a patch. -- Cheers, Guinevere Larsen She/Her/Hers