Re: [PATCH 3/3] GDB: New target s12z

Simon Marchi
2018-08-27T12:54:30Z

On 2018-08-27 02:30, John Darrington wrote:
> On Sun, Aug 26, 2018 at 06:55:31PM -0400, Simon Marchi wrote:
> I also noticed that the gdb.base/all-architectures test fails
> when testing s12z. Try to run
>
> make check TESTS="gdb.base/all-architectures-*.exp"
>
> in the gdb build directory, see if you get a bunch of:
>
> FAIL: gdb.base/all-architectures-6.exp: tests: osabi=AIX:
> arch=s12z: endian=auto: disassemble 0x0,+4 (GDB internal error)
>
>
> No. I get:
>
>
> ...
>
> === gdb Summary ===
>
> # of expected passes 24
>
>
> but I'll run that check before I submit my next patch.
>
> J'

I fails when trying unexpected combinations of arches and osabis (like
s12z with AIX), so you'd probably have to try on an --enable-targets=all
build, after you've added s12z-tdep.o to ALL_TARGET_OBS.

Simon