* linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFO

isn't defined.
This commit is contained in:
Pedro Alves 2009-02-07 14:50:25 +00:00
parent d721c93393
commit 1ef18d0809
2 changed files with 7 additions and 1 deletions

View File

@ -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)

View File

@ -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