projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d721c93
)
* linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
author
Pedro Alves
<palves@redhat.com>
Sat, 7 Feb 2009 14:50:25 +0000
(14:50 +0000)
committer
Pedro Alves
<palves@redhat.com>
Sat, 7 Feb 2009 14:50:25 +0000
(14:50 +0000)
isn't defined.
gdb/ChangeLog
patch
|
blob
|
history
gdb/linux-nat.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 8b4bcc00ddba6761650ea2774c4d3fcef58be268..3661cffb3bf546c0109c4976508c13270f3c7c47 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2009-02-07 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO
+ isn't defined.
+
2009-02-06 Pedro Alves <pedro@codesourcery.com>
* amd64-linux-nat.c (compat_int_t, compat_uptr_t, compat_time_t)
diff --git
a/gdb/linux-nat.c
b/gdb/linux-nat.c
index a54ebb4564e73dadb178dc993655d60eb9ab693c..adb763a6b2b46ffbdb411ff5c2d49f60c74ca2d3 100644
(file)
--- 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