From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) by sourceware.org (Postfix) with ESMTPS id B0FCE3840C3C for ; Wed, 15 Jul 2020 19:50:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B0FCE3840C3C Received: by mail-qv1-xf44.google.com with SMTP id h17so1492912qvr.0 for ; Wed, 15 Jul 2020 12:50:18 -0700 (PDT) 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=+GyVcQWcccCBtTNzrmRC1Zx2JuSO34Vddj7e9CHyf1s=; b=lkiwDkwbMej3GsZWxflIIM97vYxpAXoMAjITy7/GukFt9Pg1EsJYD+F9KiLFQJFxt4 /zGRh7iSuIaDzyKcqoLaJzMyKRs1qwSbM8WLbN6oeAc8h7b1IVCM7K3crcvfrpEKswhv 2zoDVmQfyf6V6EfokKT5a/oToA/7jks1hOe74R0BK9+jAF+QiUTdVJPP9F4/NTa0tvln 572GjBixiiTVaT9WLORwhpIG6YQKEW00xtsYaVTA3dVHEJxho2t0nZVk6CG/Pqb4xy+B uUuVuMr6+jd4HfbE9KysHA2WG+QfvUUZ/oNF8WJgOmfGKXWYIAvXOLiR/3UNn2JSVuJs q8FA== X-Gm-Message-State: AOAM531WRX2VWoJyQ5O2KpE2WJ6INp4yu6JY0LZwXgP8KIR4l+Uxduln SHoAXtsyoo+P3Vi8jdMu6474MZ0RAB/TuA== X-Google-Smtp-Source: ABdhPJyia7yfyfr9F2o2vMNGUsT55Dh6PnmYBvhROrKmZBLHOaWwoA0e7solvjUKh5MAIITUDdZwCQ== X-Received: by 2002:a05:6214:14b0:: with SMTP id bo16mr983212qvb.218.1594842618035; Wed, 15 Jul 2020 12:50:18 -0700 (PDT) Received: from localhost.localdomain ([2804:7f0:8283:82c3:9daa:7611:ebe6:931]) by smtp.gmail.com with ESMTPSA id z18sm4340537qta.51.2020.07.15.12.50.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 12:50:17 -0700 (PDT) From: Luis Machado To: gdb-patches@sourceware.org, Alan.Hayward@arm.com Cc: omair.javaid@linaro.org, catalin.marinas@arm.com, david.spickett@linaro.org, jose.marchesi@oracle.com Subject: [PATCH 22/23] Add NEWS entry. Date: Wed, 15 Jul 2020 16:45:12 -0300 Message-Id: <20200715194513.16641-23-luis.machado@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200715194513.16641-1-luis.machado@linaro.org> References: <20200715194513.16641-1-luis.machado@linaro.org> X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.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: , X-List-Received-Date: Wed, 15 Jul 2020 19:50:19 -0000 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 ded544d640..42e719417f 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -3,6 +3,19 @@ *** Changes since GDB 9 +* 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 will display memory tag mismatches for addresses and + pointers, if memory tagging is supported by the architecture. + * Help and apropos commands will now show the documentation of a command only once, even if that command has one or more aliases. These commands now show the command name, then all of its aliases, @@ -63,8 +76,27 @@ * 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 setltag 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