From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EufJMa00wGhP0z0AWB0awg (envelope-from ) for ; Tue, 09 Sep 2025 10:07:41 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=eagercon.com header.i=@eagercon.com header.a=rsa-sha256 header.s=dreamhost header.b=L537XdYX; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id B86FF1E04C; Tue, 09 Sep 2025 10:07:41 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.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 ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B393E1E04C for ; Tue, 09 Sep 2025 10:07:40 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3EEF63856093 for ; Tue, 9 Sep 2025 14:07:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EEF63856093 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=eagercon.com header.i=@eagercon.com header.a=rsa-sha256 header.s=dreamhost header.b=L537XdYX Received: from seahorse.cherry.relay.mailchannels.net (seahorse.cherry.relay.mailchannels.net [23.83.223.161]) by sourceware.org (Postfix) with ESMTPS id 489743858D35 for ; Tue, 9 Sep 2025 13:35:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 489743858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=eagercon.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eagercon.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 489743858D35 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=23.83.223.161 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1757424943; cv=pass; b=GmLBiNPF6YP5MHcdnzBVlfStDQ4Gzw6AX/NWH/iyCpqvtSQj7dmRM/f6RMIPG2o6/X7TsqyGlvbhDybj+GRreqeNAIHHjGifV/D/YXM3MfhB+ZOzUCJuJnHuP5HYQlq8jP2JaIpuZ31Hm4Xns29kPlqYTFCkNbyVZnXSwk7U6qY= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1757424943; c=relaxed/simple; bh=P70SjxYGga6HBbJb+jX7hTnvxxXe04BaoWHqlpQKGPs=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=DcqUCUTHr9ij8T+mk213WGxL2WbX2ggGkAUJMmsgIxKgcbDtDJRjwzZ8MC99al+s4EoAo6jxNftR4bGJQ5w9n2TlysziUV5pWEsvMMl+Ua8BPTD75rm4gzOKQVjf84FrRQO1cZHyVTHH4MehjlhGJYwCNnXuy/WXnAG75iLEbLw= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 489743858D35 X-Sender-Id: dreamhost|x-authsender|eager@eagerm.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5D9F68A503E; Tue, 9 Sep 2025 13:35:33 +0000 (UTC) Received: from pdx1-sub0-mail-a315.dreamhost.com (trex-blue-6.trex.outbound.svc.cluster.local [100.106.206.222]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0FC388A640C; Tue, 9 Sep 2025 13:35:20 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1757424920; a=rsa-sha256; cv=none; b=kgk9r/GufNz42dLyn2qOo/nE00HWOkMLUs245sG6sk9usu/5WwgEYMIUvvutlNt+95+97w s6tNPFaRSj6dzH/cCojO5J6J+HX0zANFEaGuZkJuN8LU0tfNx/2eQnQmywt1L2odsG+lp8 wOyHfS5pkF1RvqWeUZqo4yCZ4UZPQcw9FwPZLb6bWOvG1J1+uFMmNMQdKT3L0+zDyyei3v 0GymPo/OtyufzSYPg19pYPnf873Ck0jd17nYWkrzhyK7WLbz2O9rsEitqqz7dLXnm70ACq YWZ6+16W8jsH9d9XaTriZwYYLhQs25ZPwK7MdwXRaVMVVRifn0xIawqCQ8yMxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1757424920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=0Xh2Tuke0ugFINbYrDwJyLCvIeGbcwq1DB8/w2K50Js=; b=HdsAEp77nfIOm59WXUK37XOw+IX21ZUH2fYJOS7HHAbv5CDlcVIhgZeR/tUJUqVgpfP6Cs SO4A6VPZmfd3qLlUs5cTavkcMTylmI6Wpw6sgMkPRV3LoFnyS3ICk7D+1PgDhToqaHVZyu R4TB4vohRzOvo/oMtiK1zPMmsKScg4r6jzYFkuEvGMzbehA9+2uKSv3UXtNsPGSKC4aNfG GfZMi3PCwKm63yIvEeCrgd/DVj8kq1nSxAkQoQEIQeVgKpl6DPVciY1SGON6/4RPFTIvVS YJZONA9Disn6dpAvS7bac5CMcYk0aDE/YWt5Bu0vl18h/lHtmAPR6tAIpDuxYw== ARC-Authentication-Results: i=1; rspamd-8499c4bbdc-bvmt7; auth=pass smtp.auth=dreamhost smtp.mailfrom=eager@eagercon.com X-Sender-Id: dreamhost|x-authsender|eager@eagerm.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|eager@eagerm.com X-MailChannels-Auth-Id: dreamhost X-Little-Plucky: 1dd5d14639308246_1757424920358_927793898 X-MC-Loop-Signature: 1757424920358:2158480153 X-MC-Ingress-Time: 1757424920358 Received: from pdx1-sub0-mail-a315.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.106.206.222 (trex/7.1.3); Tue, 09 Sep 2025 13:35:20 +0000 Received: from [192.168.20.10] (99-119-193-198.lightspeed.sntcca.sbcglobal.net [99.119.193.198]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: eager@eagerm.com) by pdx1-sub0-mail-a315.dreamhost.com (Postfix) with ESMTPSA id 4cLlF33wS7z5h; Tue, 9 Sep 2025 06:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eagercon.com; s=dreamhost; t=1757424919; bh=0Xh2Tuke0ugFINbYrDwJyLCvIeGbcwq1DB8/w2K50Js=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=L537XdYXf6jNrjkmBGEVmQQohYY5o2g32na1hmil0TLvZzT5bCkdu8mOhBJdGBjNN ZuXo1qvMiEgH3HKrUO5VosWv3MtdPN5ncjz8OmpQBTrEKF7yTgqChKmT+41X/Y6UnP yrdUWgD2+ur8Ai0v82FxHBVopefewb842fwoccKbXzV/eSfdcax0KZGdK045MKIGck M0AxLNfhedUVeGfEQ83m4bma5I+qZf92naNFRsuYNT2OfFsMaVXxqCStoneAvJoT1H RRcduVCtTPqxWYcWOM/fpJToEYWfcSjiRcNic69OCBPRXUB4J6f5NSNZv9fbpTzcBu biF9PET/LHgLg== Message-ID: <66ed2057-a8f5-4eef-9334-58331ac5317d@eagercon.com> Date: Tue, 9 Sep 2025 06:35:18 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] MicroBlaze: Update software breakpoint machine code as per MicroBlaze ISA To: Gopi Kumar Bulusu Cc: gdb-patches@sourceware.org References: <430e84f1-b960-45e7-a617-8f88c083a800@eagercon.com> Content-Language: en-US From: Michael Eager In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 9/9/25 5:23 AM, Gopi Kumar Bulusu wrote: > namaskaaram > > On Tue, Sep 9, 2025 at 5:26 PM Michael Eager > wrote: > > On 9/9/25 12:16 AM, Gopi Kumar Bulusu wrote: > > namaskaaram, > > The macro MICROBLAZE_BREAKPOINT is set to an instruction opcode that > > does not meet the criteria for software breakpoint instruction as > set > > forth in the AMD MicroBlaze ISA. This patch  addresses the problem. > > > > This simple patch concludes a series of patches that add AMD > MicroBlaze > > gdbserver target support for GNU/Linux. > > > > Updated NEWS to include MicroBlaze gdbserver target. > > > > Build/Test - tested by building microblazeel-linux-gdb and verifying > > that software breakpoint works > > using gdbserver as target. > > > Has this patch been tested with bare metal targets? > > > 1. Yes, This patch has been part of the AMD/Xilinx git sources (Yocto > builds) for many many years. Breakpoints > work with bare metal (qemu).  From what I understand - the bare-metal > case when using QEMU does not use a > software breakpoint. > > 2. No, I have not checked Baremetal - real target, but when using BDM/ > JTAG this may not matter. However I don't see > currently JTAG supported from gdb for MicroBlaze (does it ?). > > 3. I also don't see any indication that gdb for MicroBlaze includes > support for  a remote debug monitor for bare metal targets > that may use software breakpoint. > > Approved ? Please apply. -- Michael Eager