From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +DL3I+V2qV/vbwAAWB0awg (envelope-from ) for ; Mon, 09 Nov 2020 12:05:41 -0500 Received: by simark.ca (Postfix, from userid 112) id 8E92C1F08D; Mon, 9 Nov 2020 12:05:41 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2555A1F08B for ; Mon, 9 Nov 2020 12:05:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4EA2C3973052; Mon, 9 Nov 2020 17:05:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EA2C3973052 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1604941537; bh=qe01gLmS9Umam9ij6eUuYAvm4f7QUA5zliFL11DOMp0=; 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=SioG3XbcZzYqgpSRRReRRp/BzJDJx5mN34wZyti0hw5QADmLSwSLWitSl5dk2Wt2k 6S0SDYXa8xXgsCodOjVzpTVd/Iiyath7HW8fWuWVeh171JdfJQkueu+b/NasdpSXem W+Md+SvZz5ICCX9It6G/9Jl0lYZJiJFtYCTGM1S0= Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by sourceware.org (Postfix) with ESMTPS id 486303973032 for ; Mon, 9 Nov 2020 17:05:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 486303973032 Received: by mail-qk1-x743.google.com with SMTP id y197so8581116qkb.7 for ; Mon, 09 Nov 2020 09:05:34 -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; bh=qe01gLmS9Umam9ij6eUuYAvm4f7QUA5zliFL11DOMp0=; b=TB5ZfOYp+GDYp3pu+JnmbyIua76ZzCeItc/yal8Z9ntbjwHIIWZbjHWQHHL1ESQrlw o6ZRtxaqZYcAbe/EepG2CGMSlIMropxQ8rc6lELUMYXllwaBihVx06f2WzXPbLJRC0ud gPN308n9irH8+kLJbRL6pKRIzsVtdC5U83r2/ID1vw8H1/qwoTlgP8A/KgYsJPZNSEuT h/2MKaMlqBPMR/B9ix9gaOLXmFE2emkOpj4nsetXvPkog9Dkk/fnJvu3rgc/59GWURbp 0EM/cgK/8LK5SwtJRaT01xNZv623DVGlGrOLMWzbo3yzTkUQST2DIvPRVVWpqZ6dBOp5 C9lA== X-Gm-Message-State: AOAM532UYoMItiH2n8Nwqf6TcTpayn0Gfdaf7T6DRZS+sm2McobS9I28 HXgkZJ/kwibjcXd2wfiPfNBqJ8J1HowDwQ== X-Google-Smtp-Source: ABdhPJwBfs4qaEgcU9xuaZPaR5krg4EMCsD1LGklKYywVJAamZcAjHYr+eVpZgqCH0VTxSOSQVNuRg== X-Received: by 2002:a37:4897:: with SMTP id v145mr14640754qka.134.1604941533549; Mon, 09 Nov 2020 09:05:33 -0800 (PST) Received: from localhost.localdomain ([2804:7f0:8284:1487:5c3b:b268:ad95:5f37]) by smtp.gmail.com with ESMTPSA id s2sm5948358qtw.44.2020.11.09.09.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 09:05:33 -0800 (PST) To: gdb-patches@sourceware.org Subject: [PATCH v3 23/24] Add NEWS entry. Date: Mon, 9 Nov 2020 14:04:34 -0300 Message-Id: <20201109170435.15766-24-luis.machado@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201109170435.15766-1-luis.machado@linaro.org> References: <20201109170435.15766-1-luis.machado@linaro.org> 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" Mention the new packets and memory tagging features. gdb/ChangeLog: YYYY-MM-DD Luis Machado * NEWS: Mention memory tagging changes. --- gdb/NEWS | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gdb/NEWS b/gdb/NEWS index 3e08aee7c6..55af85528d 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -51,6 +51,19 @@ condition [-force] N COND *** Changes in 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. + +* The "x" command supports the 'm' modifier to display allocation tags for + a particular memory range. + +* The "print" command displays memory tag mismatches for addresses and + pointers, if memory tagging is supported by the architecture. + * There are new feature names for ARC targets: "org.gnu.gdb.arc.core" and "org.gnu.gdb.arc.aux". The old names are still supported but must be considered obsolete. They will be deprecated after some @@ -133,8 +146,27 @@ condition [-force] N COND * On Windows targets, it is now possible to debug 32-bit programs with a 64-bit GDB. +* 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. + * New commands +mtag showltag ADDRESS + Show the logical tag for ADDRESS. +mtag withltag ADDRESS TAG + Set the logical tag for ADDRESS to TAG. +mtag showatag ADDRESS + Show the allocation tag for ADDRESS. +mtag setatag ADDRESS LENGTH TAGS + Set the allocation tag for [ADDRESS, ADDRESS + LENGTH) to TAGS. +mtag check ADDRESS + Validate that ADDRESS' logical tag matches the allocation tag. + 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.17.1