summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2003-02-20 09:55:34 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2003-02-20 09:55:34 +0000
commita8402400e78b35d43118078ac4eac7be9b13320a (patch)
treef4a28f12031dfeb50181ecf6692d0cd493cbf301 /libc/sysdeps
parent5efeef3b6d2b22a285d1ba3b5016944bb65eb7b5 (diff)
Add back in PTRACE_SINGLESTEP.
Use decimal instead of hex to agree with common/sys/ptrace.h.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/v850/sys/ptrace.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/v850/sys/ptrace.h b/libc/sysdeps/linux/v850/sys/ptrace.h
index 6647583ed..48690eeee 100644
--- a/libc/sysdeps/linux/v850/sys/ptrace.h
+++ b/libc/sysdeps/linux/v850/sys/ptrace.h
@@ -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 @@ enum __ptrace_request
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. */