From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 9C1A93857B98 for ; Fri, 29 Sep 2023 13:31:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C1A93857B98 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695994290; 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=iygErA+hn4j6kB3Yi46Zgqmv8ifdun7eyM1yIrbWGCk=; b=b05OM+HM4y9W34IS8I0gsEGbwWikEQszmgQ8LNiKTcL2Cm1Iv1xkh5reI5We68KduGYlEE JqyY9M/+O/CAjSqx/1TDf5JDb5cx2/TG3kfwmQiZpcLf3Lyfq/B58ScUFt0ENCIxZkREsp dkpZHFilnMOoIyEPDPI6msslAI7SR4g= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-594-4MFVHSxkM_CkrFXKj_qvug-1; Fri, 29 Sep 2023 09:31:26 -0400 X-MC-Unique: 4MFVHSxkM_CkrFXKj_qvug-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9b2cf504e3aso82275266b.2 for ; Fri, 29 Sep 2023 06:31:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695994284; x=1696599084; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iygErA+hn4j6kB3Yi46Zgqmv8ifdun7eyM1yIrbWGCk=; b=CXmCN4T3lmDPXpeC2e9tvSw+FX7Z4XbZK2zvz6Yc047fonaMgsGnxHIBn9cvyS7kZx mas6pp61WjayJEqJZ1s4aVgtOXh/zl0gGvyznsL3K6dyyg6nxZENEJr+Q4gCZ1x70adz aZWKiOxeqj0QcXF01gtoFwKiBeSYuF0Ul9XDCXwLIKIoM3fd2rYqSfSzUrXFyXmeJwOY d0L/Qch7G2ZNP55lsPBMh1LaP2FCSOVx1sCDs5dv3w/3SF2aymVrIWD5IC5dGjEVLym2 k3WFN4aJBl7hyha6a3lWe4b3Gyw/WPzqmH40wEdBFOlK9QY6ayHqjO4vUTSjsTxUgLXe 026A== X-Gm-Message-State: AOJu0YzvTFIS0m3n9rmDdHZn5ZUJHuGGVGDklrlKkljOuEg2Agbfh9xg ytcg9cYRFTUEfx+FRRRZJV0SYZS/15Gq2bgpx+787H05wBjOG95P2rmdh+jQLuOfVL0vb469F7W uQu0JL7zJWcNB5IonDCchBh41okCz9+an8kgsdieoCC9cmkevPp0GgmmIBYHrZP/1DeGFrk0Olg h0dUnESA== X-Received: by 2002:a17:907:1dd1:b0:9a1:d29c:6aa9 with SMTP id og17-20020a1709071dd100b009a1d29c6aa9mr3509458ejc.11.1695994284672; Fri, 29 Sep 2023 06:31:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIBDQVNYAbYTz9iNso+trcMDHANXED5aruH2VEZKiSRewyTf+3AlQm+T8/VBtFie1T1hi5rQ== X-Received: by 2002:a17:907:1dd1:b0:9a1:d29c:6aa9 with SMTP id og17-20020a1709071dd100b009a1d29c6aa9mr3509434ejc.11.1695994284158; Fri, 29 Sep 2023 06:31:24 -0700 (PDT) Received: from localhost ([31.111.84.209]) by smtp.gmail.com with ESMTPSA id md1-20020a170906ae8100b009a1be9c29d7sm12468647ejb.179.2023.09.29.06.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:31:22 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess , Tom Tromey , Pedro Alves Subject: [PATCH] gdb/NEWS: reorder some entries in the NEWS file Date: Fri, 29 Sep 2023 14:31:19 +0100 Message-Id: X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I spotted two entries in the NEWS file that I believe are in the wrong place, these are: - An entry about MI v1 being deprecated, this feels like it should be the first entry under the 'MI changes' heading, and - An entry for the $_shell convenience function which is currently under the 'New commands' heading (sort of), when I think this should be listed in the general news section. --- I've CC'd the authors of the two pieces I've moved in case they object, otherwise I'll push this in a few days. Thanks, Andrew --- gdb/NEWS | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index fd7ab282f69..dce9b5018c1 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -35,8 +35,6 @@ currently selected target. If no remote target is selected, the default configuration for future connections is shown. -* MI version 1 has been removed. - * GDB has initial built-in support for the Debugger Adapter Protocol. This support requires that GDB be built with Python scripting enabled. @@ -106,6 +104,16 @@ 'inferior' keyword with either the 'thread' or 'task' keywords when creating a breakpoint. +* New convenience function "$_shell", to execute a shell command and + return the result. This lets you run shell commands in expressions. + Some examples: + + (gdb) p $_shell("true") + $1 = 0 + (gdb) p $_shell("false") + $2 = 1 + (gdb) break func if $_shell("some command") == 0 + * New commands set debug breakpoint on|off @@ -139,18 +147,10 @@ show tui mouse-events Python extensions. When off, mouse clicks are handled by the terminal, enabling terminal-native text selection. -* New convenience function "$_shell", to execute a shell command and - return the result. This lets you run shell commands in expressions. - Some examples: - - (gdb) p $_shell("true") - $1 = 0 - (gdb) p $_shell("false") - $2 = 1 - (gdb) break func if $_shell("some command") == 0 - * MI changes +** MI version 1 has been removed. + ** mi now reports 'no-history' as a stop reason when hitting the end of the reverse execution history. base-commit: 68510906a981d6abd31c51f49b2ec7e18db0a338 -- 2.25.4