Re: [obv] [testsuite] i386-biarch-core.exp: Fix comment typo

Jan Kratochvil
2015-09-15T14:37:28Z

On Tue, 15 Sep 2015 16:35:28 +0200, Luis Machado wrote:
> On 09/15/2015 11:29 AM, Luis Machado wrote:
> >core-file gdb.arch/i386-biarch-core.core
> >gdb/mips-tdep.c:1098: internal-error: bad register size
> >A problem internal to GDB has been detected,
> >further debugging may prove unreliable.^
> >Quit this debugging session? (y or n)
> >FAIL: gdb.arch/i386-biarch-core.exp: core-file (GDB internal error)
>
> The lines are a bit off, but basically we end up hitting the internal error
> at mips-tdep.c:mips_pseudo_register_read. I don't think the MIPS backend is
> currently crafted to handle reading unknown register blocks.

Then it is a mips-tdep.c bug similar to this i386-tdep.c bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=17808

In general GDB should not crash when you let it read an arbitrary file.

If you want I can file it as a new MIPS-specific PR and KFAIL it.

Jan