Re: [PATCH] Handle loading improper core files gracefully in the mips backend.

Pedro Alves
2017-01-19T16:56:32Z

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