summaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-02-07 14:50:24 +0000
committerPedro Alves <pedro@codesourcery.com>2009-02-07 14:50:24 +0000
commit1307c4f734b3c4c887d0b4c97f4d4fcde886e1a6 (patch)
tree0ed13e5ae5caa2b8d1411671fda46aab0a157646 /gdb/linux-nat.c
parent830bd202c54edc3f7cb1c9909213337ee26214a2 (diff)
downloadgdb-1307c4f734b3c4c887d0b4c97f4d4fcde886e1a6.tar.gz
* linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
isn't defined.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index a54ebb4564e..adb763a6b2b 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -194,7 +194,8 @@ blocked. */
#endif
#ifndef PTRACE_GETSIGINFO
-#define PTRACE_GETSIGINFO 0x4202
+# define PTRACE_GETSIGINFO 0x4202
+# define PTRACE_SETSIGINFO 0x4203
#endif
/* The single-threaded native GNU/Linux target_ops. We save a pointer for