From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D4273858D38; Sat, 25 Mar 2023 17:20:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D4273858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679764824; bh=RwJY/pxSJuV67dYh4oRKIxOj2uaZw6EN4obEk0YyLoo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hrhBTjgerspt6SDqdIEYBYWPHY3svejeUZpLb0Rd8qJw8i6+5n1D1p/n+NFFxwcc7 0aA2wBJwLOAi1a9RYRRXXPQ4b/dkUXHG13ufeMLOO+X9fvF5EZPqcbBNYEUu1+6l/x I4Y23YXpl80vjVZeRkubcxecGTupz+vgaCzvAYHw= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug corefiles/30273] Regression - "Core file format not supported" Date: Sat, 25 Mar 2023 17:20:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: corefiles X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org 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: everconfirmed cf_reconfirmed_on 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=3D30273 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-03-25 Status|UNCONFIRMED |NEW --- Comment #2 from Tom Tromey --- I think using "--target=3Dm68k-linux-gnu" sets gdb_osabi=3DGDB_OSABI_LINUX (in configure.tgt) and so that explains why this worked before the osabi sniffer was added. I wonder if the m68k sniffer could use generic_elf_osabi_sniff_abi_tag_sections to detect that this is a Linux core file. I do see: prentzel. objdump -x /tmp/core.0 |grep linux 1 .note.linuxcore.siginfo/1845559296 00000080 00000000 00000000 000003= 88=20 2**2 2 .note.linuxcore.siginfo 00000080 00000000 00000000 00000388 2**2 4 .note.linuxcore.file/1845559296 00000192 00000000 00000000 000004b8= =20 2**2 5 .note.linuxcore.file 00000192 00000000 00000000 000004b8 2**2 --=20 You are receiving this mail because: You are on the CC list for the bug.=