This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug corefiles/19834] crash or "Assertion `core_vec' failed" if core arch is i386 while executable x64
- From: "vano at mail dot mipt.ru" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 17 Mar 2016 13:14:58 +0000
- Subject: [Bug corefiles/19834] crash or "Assertion `core_vec' failed" if core arch is i386 while executable x64
- Auto-submitted: auto-generated
- References: <bug-19834-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19834
--- Comment #2 from Ivan Pozdeev <vano at mail dot mipt.ru> ---
A core file is a faithful representation of the executable - its state at the
moment of crash. How can its architecture possibly be different?
All in all, for all purposes, this looks like a sure tell that the core doesn't
match the file so there's no use in going on anyway - the results would be
meaningless.
I considered core_file_matches_executable_p() and rejected it because its
failure only results in a (not seriously sounding) warning while this is a
critical error. If the subroutine can call error() or something itself without
breaking the design, I have no objections.
--
You are receiving this mail because:
You are on the CC list for the bug.