From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id oEiYLmaf7F85CwAAWB0awg (envelope-from ) for ; Wed, 30 Dec 2020 10:40:22 -0500 Received: by simark.ca (Postfix, from userid 112) id 633AC1F075; Wed, 30 Dec 2020 10:40:18 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (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 simark.ca (Postfix) with ESMTPS id E46381F075 for ; Wed, 30 Dec 2020 10:40:15 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 73ECB388E81D; Wed, 30 Dec 2020 15:40:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73ECB388E81D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1609342815; bh=Qn6XflSR5G2ehqY7lldcSnhLBeaW9I232kaTQtjyFGg=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=vVRVb9h5RR8qCcC3gmj26JtbA3sV4/0Alz+a6G7QF7EP0YgU3yUoPviC9FqfNgNuz Zzn+zPCdtCWZN8b0rRJ45dfNFDJ6uXveY3ooZUxmvdeJXPYxyDjNkwHamuCCUjvGOe 075zC8E8/WROUwnpHZFxtQNgDBjw9tgAQURYV2E8= Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by sourceware.org (Postfix) with ESMTPS id 3AFEB388E822 for ; Wed, 30 Dec 2020 15:40:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3AFEB388E822 Received: by mail-qt1-x836.google.com with SMTP id 2so11126422qtt.10 for ; Wed, 30 Dec 2020 07:40:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Qn6XflSR5G2ehqY7lldcSnhLBeaW9I232kaTQtjyFGg=; b=UjDuDhrHuNsi5gLoZjGaXKpNlSuIW1jgJUTvX3lqv/GsImWvdbsK9CJHDhGVOsYrdo ArK3TCFnDa3Dco3QXr3yhYsmzf9jwihPf5+EAkImADaKbk61ZpcqXaEoLlncox40dAFQ y5425SN5e5UlHG7YLZKH3OfVbzT+hAuZsvqftVm2PZJYTDLCivWss7LbErZAjEVpp5lq YDdyZFafDzb925EqmTKMdevFPBSatdRezbuxwqUfpU3jJkdJUr+tpfhXVHrHZtmcvnf+ LmOYLoNE1Iii3xVkZH+enKqZcbsZTowt8NTxZ7RxQb14DMNTA5PGq2UkoXIORSS+3wwQ cg4A== X-Gm-Message-State: AOAM530tRb5NkairFYAs61hyN0/kMWVuiapfO/JQKbUmkxm23Klv9jtO Ro6IVUjoVv3UVq5hlSd1+9QIIDDShzj0VQ== X-Google-Smtp-Source: ABdhPJx5O7gTEVzl+ypF2RFRXeftG5Fy9nu30qz9M9xV1FcTpqkVBlAWlNh3j5QjeVif2uN29x4BrQ== X-Received: by 2002:ac8:5515:: with SMTP id j21mr55142250qtq.330.1609342812711; Wed, 30 Dec 2020 07:40:12 -0800 (PST) Received: from localhost.localdomain ([2804:7f0:8284:370e:c9ba:c4ec:737b:57da]) by smtp.gmail.com with ESMTPSA id f6sm28589336qkh.2.2020.12.30.07.40.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 07:40:12 -0800 (PST) To: gdb-patches@sourceware.org Subject: [PATCH v4 24/25] Add NEWS entry. Date: Wed, 30 Dec 2020 12:39:15 -0300 Message-Id: <20201230153916.1586725-25-luis.machado@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201230153916.1586725-1-luis.machado@linaro.org> References: <20201230153916.1586725-1-luis.machado@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Luis Machado via Gdb-patches Reply-To: Luis Machado Cc: david.spickett@linaro.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Updates on v4: - Update command names. -- Mention the new packets and memory tagging features. gdb/ChangeLog: YYYY-MM-DD Luis Machado * NEWS: Mention memory tagging changes. --- gdb/NEWS | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index 66702862ef..0acdac0d28 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -3,6 +3,21 @@ *** Changes since GDB 10 +* GDB now supports general memory tagging functionality if the underlying + architecture supports the proper primitives and hooks. Currently this is + enabled only for AArch64 MTE. + + This includes: + + - Additional information when the inferior crashes with a SIGSEGV caused by + a memory tag violation. + + - A new modifier 'm' for the "x" command, which displays allocation tags for a + particular memory range. + + - Display of memory tag mismatches by "print", for addresses and + pointers, if memory tagging is supported by the architecture. + * Building GDB now requires GMP (The GNU Multiple Precision Arithmetic Library). @@ -47,6 +62,17 @@ maintenance flush register-cache maintenance flush dcache A new command to flush the dcache. +memory-tag show-logical-tag ADDRESS + Print the logical tag for ADDRESS. +memory-tag with-logical-tag ADDRESS TAG + Print ADDRESS with logical tag TAG. +memory-tag show-allocation-tag ADDRESS + Print the allocation tag for ADDRESS. +memory-tag set-allocation-tag ADDRESS LENGTH TAGS + Set the allocation tag for [ADDRESS, ADDRESS + LENGTH) to TAGS. +memory-tag check ADDRESS + Validate that ADDRESS' logical tag matches the allocation tag. + * Changed commands break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM] @@ -75,6 +101,14 @@ maintenance flush-symbol-cache 'maintenance flush register-cache' and 'maintenance flush symbol-cache' respectively. +* New remote packets + +qMemTags + Request the remote to send allocation tags for a particular memory range. +QMemTags + Request the remote to store the specified allocation tags to the requested + memory range. + *** Changes in GDB 10 * There are new feature names for ARC targets: "org.gnu.gdb.arc.core" @@ -159,8 +193,6 @@ maintenance flush-symbol-cache * On Windows targets, it is now possible to debug 32-bit programs with a 64-bit GDB. -* New commands - set exec-file-mismatch -- Set exec-file-mismatch handling (ask|warn|off). show exec-file-mismatch -- Show exec-file-mismatch handling (ask|warn|off). Set or show the option 'exec-file-mismatch'. When GDB attaches to a -- 2.25.1