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

Pedro Alves
2016-02-02T14:22:50Z

On 02/02/2016 02:19 PM, Pedro Alves wrote:
> On 02/02/2016 12:58 PM, Luis Machado wrote:

> Did you try to trigger the assertion by loading a 32-bit MIPS binary
> into gdb, and playing with "set mips abi n64/o64...", "set mipsfpu",
> etc?
>
> I think that adding a test to the testsuite that iterates through all
> the possible combinations just to make sure gdb doesn't crash
> would be great, and also show that the patch stands on its own
> as well, irrespective of the bfd arch compatibility issues.

TBC, I meant, the original patch that checked unsuitable ABI/ISA
combinations.

Thanks,
Pedro Alves