* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
authorMark Kettenis <kettenis@gnu.org>
Thu, 4 May 2000 19:25:57 +0000 (19:25 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 4 May 2000 19:25:57 +0000 (19:25 +0000)
already defined.

gdb/ChangeLog
gdb/i386-linux-nat.c

index 1e7433cdef24cde7c2312e58c2a109e9d0144165..c24cc823104e1f42e551260527ab68427ad775d6 100644 (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  Mark Kettenis  <kettenis@gnu.org>
 
        * infrun.c (handle_inferior_event): Add missing call to keep_going
index 2bfac295efe35688effb8c27882224a3c164a534..287b23bcb2925842447bc047f03aff0461fccd6d 100644 (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
This page took 0.026958 seconds and 4 git commands to generate.