From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward501j.mail.yandex.net (forward501j.mail.yandex.net [5.45.198.251]) by sourceware.org (Postfix) with ESMTPS id E4221394E883 for ; Thu, 8 Dec 2022 18:04:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E4221394E883 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=syntacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=syntacore.com Received: from sas8-838e1e461505.qloud-c.yandex.net (sas8-838e1e461505.qloud-c.yandex.net [IPv6:2a02:6b8:c1b:28d:0:640:838e:1e46]) by forward501j.mail.yandex.net (Yandex) with ESMTP id E974B6232C2 for ; Thu, 8 Dec 2022 21:03:14 +0300 (MSK) Received: by sas8-838e1e461505.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id E3e2CF5fuW21-3jLKAjKt; Thu, 08 Dec 2022 21:03:14 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=syntacore.com; s=mail; t=1670522594; bh=o40spyzGOk2PYKqK+ue/t7XUCnnZOl26UqJCzvhHr58=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=C2IcVrBAEfLLpX8GMW6m6pgvm3nL1IA10P5X9nmjQ1pKgVeWrZkdG0k647aKXHnUL PH/FKoQsizGuju7oOOmN7E26qbYd2TlKtjz0nxxmBgr9X2Qh9xp3WaS2BzI6WSL6Xe GgQb58Tua6KDbgW49aGo/FFs1d7blrHbtBaYyZrA= Authentication-Results: sas8-838e1e461505.qloud-c.yandex.net; dkim=pass header.i=@syntacore.com Message-ID: Date: Thu, 8 Dec 2022 21:03:14 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: [RFC] Some update on basic support for HW breakpoints/watchpoints with RISC-V target Content-Language: en-US To: gdb@sourceware.org References: <20221130182605.1905317-1-yuly.tarasov@syntacore.com> From: Yuly Tarasov In-Reply-To: <20221130182605.1905317-1-yuly.tarasov@syntacore.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, Recently I published a RFC draft patch to support RISC-V hardware breakpoints and watchpoints. I'm waiting for comments and feedback. Patch is here: https://sourceware.org/pipermail/gdb-patches/2022-November/194365.html. Now I have some update. To try it locally on RV64 QEMU you will need RFC v2 for Linux kernel and OpenSBI that was published recently by my colleague Sergey Matyukevich. You can find these here: https://lore.kernel.org/linux-riscv/20221203215535.208948-1-geomatsi@gmail.com/T/ https://lists.infradead.org/pipermail/opensbi/2022-December/003767.html -- Best regards, Yuly