Subject: Compiling gdb 4.14
To: None <current-users@NetBSD.ORG>
From: =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@ifi.uio.no>
List: current-users
Date: 07/01/1995 23:53:04
Has anyone successfully compiled GNU gdb 4.14? There seems to be some
undefined values in infptrace.c, which are not found in
/usr/include/{sys/ptrace.h,machine/ptrace.h}:
infptrace.c: In function `fetch_register':
infptrace.c:264: `PT_READ_U' undeclared (first use this function)
infptrace.c:264: (Each undeclared identifier is reported only once
infptrace.c:264: for each function it appears in.)
infptrace.c: In function `store_inferior_registers':
infptrace.c:319: `PT_READ_U' undeclared (first use this function)
infptrace.c:327: `PT_WRITE_U' undeclared (first use this function)
I just added PT_READ_U and PT_WRITE_U from infptrace.c into
/usr/include/sys/ptrace.h, and it built. Is ptrace.h on NetBSD
obsolete?
-aage