This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Regression on old kernels (Re: [PATCH v5 00/12] GDB support for more powerpc registers on linux)
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: pedromfc at linux dot ibm dot com (Pedro Franco de Carvalho)
- Cc: palves at redhat dot com (Pedro Alves), gdb-patches at sourceware dot org
- Date: Mon, 29 Oct 2018 15:20:42 +0100 (CET)
- Subject: Regression on old kernels (Re: [PATCH v5 00/12] GDB support for more powerpc registers on linux)
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