* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not

already defined.
This commit is contained in:
Mark Kettenis
2000-05-04 19:14:26 +00:00
parent f1ed6b88db
commit d5321dc35a
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2000-05-04 Mark Kettenis <kettenis@gnu.org>
* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
already defined.
2000-05-01 Stan Shebs <shebs@apple.com>
Remove obsolete Gould configuration:

View File

@@ -123,6 +123,13 @@ int have_ptrace_getxfpregs =
the GETREGS request. I want to avoid changing `infptrace.c' right
now. */
#ifndef PT_READ_U
#define PT_READ_U PTRACE_PEEKUSR
#endif
#ifndef PT_WRITE_U
#define PT_WRITE_U PTRACE_POKEUSR
#endif
/* Default the type of the ptrace transfer to int. */
#ifndef PTRACE_XFER_TYPE
#define PTRACE_XFER_TYPE int