[uClibc-cvs] uClibc/libc/sysdeps/linux/v850/sys ptrace.h,1.1,1.2

Miles Bader miles at uclibc.org
Thu Feb 20 09:55:38 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/v850/sys
In directory winder:/tmp/cvs-serv30317/libc/sysdeps/linux/v850/sys

Modified Files:
	ptrace.h 
Log Message:
Add back in PTRACE_SINGLESTEP.
Use decimal instead of hex to agree with common/sys/ptrace.h.


Index: ptrace.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/v850/sys/ptrace.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ptrace.h	5 Mar 2002 02:22:10 -0000	1.1
+++ ptrace.h	20 Feb 2003 09:55:34 -0000	1.2
@@ -1,5 +1,5 @@
 /* `ptrace' debugger support interface.  Linux/v850 version.
-   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -65,12 +65,16 @@
   PTRACE_KILL = 8,
 #define PT_KILL PTRACE_KILL
 
+  /* Single step the process.  */
+  PTRACE_SINGLESTEP = 9,
+#define PT_STEP PTRACE_SINGLESTEP
+
   /* Attach to a process that is already running. */
-  PTRACE_ATTACH = 0x10,
+  PTRACE_ATTACH = 16,
 #define PT_ATTACH PTRACE_ATTACH
 
   /* Detach from a process attached to with PTRACE_ATTACH.  */
-  PTRACE_DETACH = 0x11,
+  PTRACE_DETACH = 17,
 #define PT_DETACH PTRACE_DETACH
 
   /* Continue and stop at the next (return from) syscall.  */




More information about the uClibc-cvs mailing list