This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Handle loading improper core files gracefully in the mips backend.
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: Luis Machado <lgustavo at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>, <jan dot kratochvil at redhat dot com>
- Date: Sat, 9 Jan 2016 03:02:18 +0000
- Subject: Re: [PATCH] Handle loading improper core files gracefully in the mips backend.
- Authentication-results: sourceware.org; auth=none
- References: <1452277948-25292-1-git-send-email-lgustavo at codesourcery dot com>
On Fri, 8 Jan 2016, Luis Machado wrote:
> Maciej, do you have more input on additional incompatibilities that we need
> to check for?
Why do we get this far in the first place where e_machine != EM_MIPS? I
think rather than adding additional checks here (unless they're needed for
a valid MIPS ELF binary; but that would be a separate problem to fix) we
should reject such a core file outright.
Maciej