This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]