From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cP75GUHlkV9pSAAAWB0awg (envelope-from ) for ; Thu, 22 Oct 2020 16:02:09 -0400 Received: by simark.ca (Postfix, from userid 112) id 64E4C1E89B; Thu, 22 Oct 2020 16:02:09 -0400 (EDT) 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 263CB1E552 for ; Thu, 22 Oct 2020 16:02:04 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CB0D5398782B; Thu, 22 Oct 2020 20:02:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB0D5398782B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1603396923; bh=4nY80Vu8CVc9NmHUsPK7qnAkLjVvS+0H3Deh/koZaAM=; 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=wjxb2wpq81/US7ZKRxa6/15xba91d9KgBM0vj1CZmD4poY7uWAffRi4oK+lPx/I5I ZRr/LhHM7OGd2yns1rNWZMdFlAMhhKWWPjGnqekEbq4WWOIPNHQup6FIVC35tcY+ch dFig2ZgE9/RRPaiDXRQQdcC5REmq/U17SH42sE4Y= Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com [IPv6:2607:f8b0:4864:20::f42]) by sourceware.org (Postfix) with ESMTPS id 3F366398782B for ; Thu, 22 Oct 2020 20:02:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3F366398782B Received: by mail-qv1-xf42.google.com with SMTP id g13so1647180qvu.1 for ; Thu, 22 Oct 2020 13:02:02 -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=4nY80Vu8CVc9NmHUsPK7qnAkLjVvS+0H3Deh/koZaAM=; b=bY7LoX6x7rvbYkfiBrtqjX01Kd57VKBmT+IHmnYIZMmCtpxR6/kPfW4qd3+OXuFhRk lT1tdBiUwxeS+foC9ofwzI0NKt9xtCCjPW9g/tgm0iccm6XMCBYc2gt4AqF9e0EEucLO 85zjHw+4nBshB0vEbJaappOCcUS4YPguYymrF4F+KrK3zKzCZ5TQhRFwob6U9Dzs7zpi nKW/zienF/6ykTmuhhxfIYim6rc5YhUFSjsxBTakNTv5+yDY/6f6TX5Wz54zXdRW0Y/n 7i4bEfYG9ZD8K7sDOs0pFN6Lm7HM7yhIG5BiCCiZf8Y5Mj1SVQadOHew9G2oYZRf90HP yjDw== X-Gm-Message-State: AOAM533jc+0PAbH9u8j2c860+uKrRgV6i0WkZJgAA1wx6cCOqeT7qwht J0RYrnceBd2j7iw+THSP13MPQNOa9ataBQ== X-Google-Smtp-Source: ABdhPJy3lIASZ/fFRDB2UOigPRHs9twaDYqwEUbFtizsaXJkc3zPzdKnBw7zNX4pi0/mWa6HPgxM1w== X-Received: by 2002:ad4:4c4a:: with SMTP id cs10mr4154045qvb.48.1603396921477; Thu, 22 Oct 2020 13:02:01 -0700 (PDT) Received: from localhost.localdomain ([2804:7f0:8284:1487:b9b1:f72a:8f1:600]) by smtp.gmail.com with ESMTPSA id a21sm1711208qkk.98.2020.10.22.13.01.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2020 13:02:01 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [PATCH v2 23/24] Add NEWS entry. Date: Thu, 22 Oct 2020 17:00:13 -0300 Message-Id: <20201022200014.5189-24-luis.machado@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201022200014.5189-1-luis.machado@linaro.org> References: <20201022200014.5189-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 1789cf3135..f5c54f1e02 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -23,6 +23,19 @@ show debug event-loop *** 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 @@ -105,8 +118,27 @@ show debug event-loop * 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