From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id q6rpLvoApWA7OQAAWB0awg (envelope-from ) for ; Wed, 19 May 2021 08:13:46 -0400 Received: by simark.ca (Postfix, from userid 112) id B22461F11C; Wed, 19 May 2021 08:13:46 -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 F15951E54D for ; Wed, 19 May 2021 08:13:45 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7AA1A3938C27; Wed, 19 May 2021 12:13:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AA1A3938C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1621426425; bh=x3cAY8Wge7SVqimKAMPF627SgQJDlc8dRoj6bHuwrgQ=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=XjikdseIPvuXdPRNdFCTyXRYUOm4gQ4F3GjnaJf7mEq1H8TJJOxYfhUSOoesvmDC3 tA4+7fO8DBUoF8a+Zo7TuDpsH4TVV0nfN5g2PR8Jw65zObSqz9LzP0Rn3hEIeGVCGS /VZaLYi4WfXGbLSfGz9kKkdtwPeNip6cK9epW+iQ= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 643153938C27 for ; Wed, 19 May 2021 12:13:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 643153938C27 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46548) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljL53-0003ok-V6; Wed, 19 May 2021 08:13:41 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4167 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljL53-0008SS-82; Wed, 19 May 2021 08:13:41 -0400 Date: Wed, 19 May 2021 15:13:48 +0300 Message-Id: <83y2caq5tv.fsf@gnu.org> To: Luis Machado In-Reply-To: <20210518202047.3492211-1-luis.machado@linaro.org> (message from Luis Machado via Gdb-patches on Tue, 18 May 2021 17:20:47 -0300) Subject: Re: [PATCH] [AArch64] MTE corefile support References: <20210518202047.3492211-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: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: david.spickett@linaro.org, gdb-patches@sourceware.org, catalin.marinas@arm.com Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > Date: Tue, 18 May 2021 17:20:47 -0300 > From: Luis Machado via Gdb-patches > Cc: david.spickett@linaro.org, catalin.marinas@arm.com > > gdb/ChangeLog: > > YYYY-MM-DD Luis Machado > > * aarch64-linux-tdep.c: Include elf/common.h. > (MAX_TAGS_TO_TRANSFER): New constant. > (aarch64_linux_create_memtag_notes_from_range): New function. > (aarch64_linux_decode_memtag_note): Likewise. > (aarch64_linux_init_abi): Register new core file hooks. > * arch/aarch64-mte-linux.h (AARCH64_MTE_TAG_BIT_SIZE): New constant. > (struct tag_dump_header): New struct. > (struct tag_dump_mte): New struct. > (MEMTAG_NOTE_HEADER_SIZE): New constant. > * corelow.c (core_target) : New > method overrides. > * gdbarch.c: Regenerate. > * gdbarch.h: Likewise. > * gdbarch.sh (create_memtag_notes_from_range): New hook. > (decode_memtag_note): Likewise. > * linux-tdep.c (linux_address_in_memtag_page): Renamed to... > (linux_process_address_in_memtag_page): ... this. > (linux_core_file_address_in_memtag_page): New function. > (linux_address_in_memtag_page): Likewise. > (linux_make_memtag_corefile_notes): Likewise. > (linux_make_corefile_notes): Handle memory tag notes. > * NEWS: Mention core file support for memory tagging. > > gdb/doc/ChangeLog: > > YYYY-MM-DD Luis Machado > > * gdb.texinfo (AArch64 Memory Tagging Extension): Mention support > for memory tagging in core files. > > gdb/testsuite/ChangeLog: > > YYYY-MM-DD Luis Machado > > * gdb.arch/aarch64-mte-gcore.c: New file. > * gdb.arch/aarch64-mte-gcore.exp: New file. Thanks, the documentation parts are OK.