From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0GsTAW3LEWCGTwAAWB0awg (envelope-from ) for ; Wed, 27 Jan 2021 15:22:05 -0500 Received: by simark.ca (Postfix, from userid 112) id EE0571EF84; Wed, 27 Jan 2021 15:22:04 -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 637071EFBB for ; Wed, 27 Jan 2021 15:22:01 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C4325398B887; Wed, 27 Jan 2021 20:21:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4325398B887 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1611778919; bh=eNmRIVG3utABU4RWC/3kGgA+FnQQ+f4Anv51WgWOShs=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=nGtUi5Kt+ahWhm6vgXZ6ZKRQRpL/B4hM1Vz+BAMENl68O3Euyy9lRRSX1HnjxmJU8 ZbW+rZ/EYke3VwqCFeLxwcDIPkMt4O83JKZim5i+qqbGkU4s5W/oDZwWMzJv4ye7CD bpsZXYFVcErXhSMZix3t34xXI61IxwfG2yU9a+YI= Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by sourceware.org (Postfix) with ESMTPS id 7CD27398B865 for ; Wed, 27 Jan 2021 20:21:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7CD27398B865 Received: by mail-qt1-x82f.google.com with SMTP id o18so2415995qtp.10 for ; Wed, 27 Jan 2021 12:21:57 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eNmRIVG3utABU4RWC/3kGgA+FnQQ+f4Anv51WgWOShs=; b=GdtLcFI2oPwBkejHnJdxYFzU6DgFs89DRL/cwENsrV1MRVfvEXJ2AH1c3b2nMO5OSd Q1mAyL1YXJ0T419KMXioXA8NsxgZaAF2fm0IXD4o69j/TMKm78za6Qh1UATGZ6BIiOIU s29sv7CbTO8D84WyD7cTSTB4n+h2VwEo8+/Al3JKeYXMYkRGrqgbeFia2E7f0tJ7pH1L qxU9fUW8r15nkiWsy9P7CpUuhcI40NoIkGfGS0sLL7sw673xQQZZsagNjmb/ZfoPL5Qr zGpSAkezgHSrUrA/OuTyYYYOpmIrpEnx2leqAPQpsYbMq6Naf5hZaRTe2muLBUibAbRz SO3g== X-Gm-Message-State: AOAM532UJQlscIspzo0i/vcsGeqOteUgkxCWhXEactyA9tDeby7yX4YP TXngEVCUhDEwGlBADB+r19ekHVhiZPlXKQ== X-Google-Smtp-Source: ABdhPJwKZhKXfFUhGAQaTQjBzoizUcBD3B86aOr9pqS1/PR2OZMCc3duz27d6cWvFRNYkVaUWMxFuw== X-Received: by 2002:ac8:7693:: with SMTP id g19mr11493932qtr.315.1611778916006; Wed, 27 Jan 2021 12:21:56 -0800 (PST) Received: from localhost.localdomain ([2804:7f0:8284:874d:b82c:87fc:4324:adab]) by smtp.gmail.com with ESMTPSA id b194sm1854531qkc.102.2021.01.27.12.21.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 12:21:55 -0800 (PST) To: gdb-patches@sourceware.org Subject: [PATCH v5 24/25] Add NEWS entry. Date: Wed, 27 Jan 2021 17:21:11 -0300 Message-Id: <20210127202112.2485702-25-luis.machado@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210127202112.2485702-1-luis.machado@linaro.org> References: <20210127202112.2485702-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 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 d2ed28857b..a4e08491ee 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] @@ -80,6 +106,14 @@ set style version background COLOR set style version intensity VALUE Control the styling of GDB's version number text. +* 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" @@ -164,8 +198,6 @@ set style version intensity VALUE * 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