Regression on old kernels (Re: [PATCH v5 00/12] GDB support for more powerpc registers on linux)

Ulrich Weigand
2018-10-29T14:20:55Z

Pedro Franco de Carvalho wrote:
> Pedro Alves <palves@redhat.com> writes:
>
> > I'm fine with merging the patchset as is.
>
> Thanks a lot! I've checked these in now.

Ah, I'm now seeing a regression on my Cell (RHEL5) build bot:

gdb/ppc-linux-nat.c: In function 'void fetch_regset(regcache*, int, int, int, const regset*)':
gdb/ppc-linux-nat.c:548:15: error: 'PTRACE_GETREGSET' was not declared in this scope

There is a fallback definition for this in nat/linux-ptrace.h,
but for some reason this is not actually used in ppc-linux-nat.c
(which uses nat/gdb_ptrace.h) instead. This probably needs to
be fixed.

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com