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: Pedro Alves <palves at redhat dot com>
- To: Luis Machado <lgustavo at codesourcery dot com>, "Maciej W. Rozycki" <macro at imgtec dot com>
- Cc: gdb-patches at sourceware dot org, jan dot kratochvil at redhat dot com
- Date: Thu, 19 Jan 2017 16:56:15 +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@codesourcery.com> <alpine.DEB.2.00.1601090245560.5958@tp.orcam.me.uk> <5693CE90.1060709@codesourcery.com> <5694F5BC.3050904@redhat.com> <5694FEB8.10406@codesourcery.com> <56950952.2030504@redhat.com> <56951F29.7070000@codesourcery.com> <alpine.DEB.2.00.1601121710020.5958@tp.orcam.me.uk> <bcf5a426-6448-63a7-ce18-850e611e1b5a@codesourcery.com>
On 01/09/2017 07:56 PM, Luis Machado wrote:
> Reading the thread once again, is my understanding correct that the
> first patch is more suitable now? Possibly with some cleanups?
>
> https://sourceware.org/ml/gdb-patches/2016-01/msg00134.html
I think a summary of the discussion would help.
I think it'd be very interesting to come up with a combination
of "set mips abi n64/o64" etc, and maybe "set gnutarget" that
exposes the problem. I've since added the
bit gdb.base/all-architectures*.exp testcase, and that does
try all sorts of combinations, including mips ones, but it
evidently isn't catching this for some reason.
Thanks,
Pedro Alves