From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0BA083858C53; Fri, 23 Feb 2024 17:44:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0BA083858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708710259; bh=cZayiQkv5SgkmHct8XFOOuAG7OHIo6DvGZrLB2xsxwA=; h=From:To:Subject:Date:From; b=Wu8OsJr5aJM8LNlVJvTpFHZrknNcDI0uHEMPaNFrHbRQuAFlImPveHHQURj6vBaXS QQde1vAmw+gHKGb6t74OIaJETJ+IOSehdbdqvXmp7enWI7dGfrxuClDZD+cXUCw3kg W4Z0IUR55n+1LjPEckVgvuQIHHjNAQk4iCilvuTk= From: "rohanahmed212212 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/31406] New: added custom instructions in riscv-gnu-toolchain is not showing in layout asm Date: Fri, 23 Feb 2024 17:44:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rohanahmed212212 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31406 Bug ID: 31406 Summary: added custom instructions in riscv-gnu-toolchain is not showing in layout asm Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: rohanahmed212212 at gmail dot com Target Milestone: --- Hey, I am having an issue related to the layout asm I added my custom instructions in the riscv-gnu-toolchain. The toolchain wo= rks perfectly and my newly added instruction is also recognized by toolchain, verified by,creating a dump file(Disassembly) having my instruction name ra= ther than their machine code.=20 But, while debuggung with gdb, the machine code(.byte 0xfabad..) is showing= in layout asm instead of my instruction name. How will I cater this problem? I already filed an issue in riscv-gnu-toolchain but they said this is not a RISCV-V specific issue. You can find our discussions in this thread=20 https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1412#issuecommen= t-1948378124 --=20 You are receiving this mail because: You are on the CC list for the bug.=