From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 734B83857B93; Thu, 16 Feb 2023 16:34:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 734B83857B93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676565293; bh=gmyljfKv8QEpAeKoNhdhRnxqahn4p0heY2yvwnJ5EQs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fY8rLP+zVbxDcZq2CJUNrXciPqikP2cYQK9d1EfOMLlXwkVChmXbeT0/gLCiZIfvP Z7jqxIpCbwu+7vf2fizcTzzNuAcw7g/rumdjpcxovI2/TaeSMC5SzRq0NqcwQjRszI Z6QNhNw9cxld6ZiCEgxi5BJl1r8U4K0CNNwm35gM= From: "hjl.tools at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/18404] [8 Regression] gdb fails to handle EM_486/EM_IAMCU binary Date: Thu, 16 Feb 2023 16:34:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW 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_status Message-ID: In-Reply-To: References: 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=3D18404 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from H.J. Lu --- (In reply to Tom Tromey from comment #2) > Is this still relevant / necessary? Yes. > I see bfd_arch_iamcu in BFD still, and nothing in gdb. > I don't know how to test this but the patch looks essentially > fine to me. It would just need an update for some renamings in gdb. $ cat x.c #include int main () { printf ("hello\n"); return 0; } $ gcc -m32 -g -static x.c $ elfedit --output-mach=3Diamcu a.out $ gdb a.out will reproduce it. --=20 You are receiving this mail because: You are on the CC list for the bug.=