public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "fthain@linux-m68k.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug corefiles/30273] New: Regression - "Core file format not supported" Date: Sat, 25 Mar 2023 02:31:17 +0000 [thread overview] Message-ID: <bug-30273-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=30273 Bug ID: 30273 Summary: Regression - "Core file format not supported" Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: corefiles Assignee: unassigned at sourceware dot org Reporter: fthain@linux-m68k.org Target Milestone: --- Host: m68k-linux-gnu Target: m68k-linux-gnu Build: m68k-linux-gnu Created attachment 14780 --> https://sourceware.org/bugzilla/attachment.cgi?id=14780&action=edit Sample core dump I'm unable to open a core file with recent versions of gdb. The problem showed up in Debian's gdb 13.1 build and I then reproduced the same failure in the 14.0.50.20230318 snapshot. The core file itself (attached) appears to be fine as I was able to open it with a previous gdb release (Gentoo vanilla 10.2). I did a little investigation and found that gdbarch->iterate_over_regset_sections == NULL for some reason. But that's as far as I got. Please see, https://lists.debian.org/debian-68k/2023/03/msg00012.html # # /opt/gdb-14.0.50.20230318/bin/gdb --core core.0 GNU gdb (GDB) 14.0.50.20230318-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "m68k-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". "/root/core.0": Core file format not supported (gdb) (gdb) quit # /opt/gdb-14.0.50.20230318/bin/gdb --configuration This GDB was configured as follows: configure --host=m68k-unknown-linux-gnu --target=m68k-unknown-linux-gnu --with-auto-load-dir=$debugdir:$datadir/auto-load --with-auto-load-safe-path=$debugdir:$datadir/auto-load --with-expat --with-gdb-datadir=/opt/gdb-14.0.50.20230318/share/gdb (relocatable) --with-jit-reader-dir=/opt/gdb-14.0.50.20230318/lib/gdb (relocatable) --without-libunwind-ia64 --with-lzma --with-babeltrace --without-intel-pt --with-xxhash --without-python --without-python-libdir --with-debuginfod --with-curses --without-guile --without-amd-dbgapi --disable-source-highlight --enable-threading --enable-tui --with-separate-debug-dir=/usr/lib/debug ("Relocatable" means the directory can be moved with the GDB installation tree, and GDB will still find it.) # gdb --core core.0 GNU gdb (Debian 13.1-2) 13.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "m68k-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". "/root/core.0": Core file format not supported (gdb) quit # # gdb --configuration This GDB was configured as follows: configure --host=m68k-linux-gnu --target=m68k-linux-gnu --with-auto-load-dir=$debugdir:$datadir/auto-load --with-auto-load-safe-path=$debugdir:$datadir/auto-load --with-expat --with-gdb-datadir=/usr/share/gdb (relocatable) --with-jit-reader-dir=/usr/lib/gdb (relocatable) --without-libunwind-ia64 --with-lzma --with-babeltrace --without-intel-pt --with-mpfr --with-xxhash --with-python=/usr (relocatable) --with-python-libdir=/usr/lib (relocatable) --with-debuginfod --without-guile --enable-source-highlight --enable-threading --with-separate-debug-dir=/usr/lib/debug (relocatable) --with-system-gdbinit=/etc/gdb/gdbinit --with-system-gdbinit-dir=/etc/gdb/gdbinit.d ("Relocatable" means the directory can be moved with the GDB installation tree, and GDB will still find it.) # gcc --version gcc (Debian 12.2.0-12) 12.2.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2023-03-25 2:31 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-25 2:31 fthain@linux-m68k.org [this message] 2023-03-25 17:10 ` [Bug corefiles/30273] " tromey at sourceware dot org 2023-03-25 17:20 ` tromey at sourceware dot org 2023-03-25 17:31 ` tromey at sourceware dot org 2023-04-21 5:36 ` fthain@linux-m68k.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30273-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).