diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 12:51:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 12:51:52 +0200 |
commit | a7ced5ec9a36f2142d404053dc384ae3af1fe047 (patch) | |
tree | 0fbc32d5e91d00450a65d146c328966877b56e65 /package/gdb/patches/patch-gdb_linux-nat_c | |
parent | e2692cea04fe08014537bbecf5fb52033cb463e2 (diff) | |
parent | 47ba3ba77f0a108450c5536daf77271125953966 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gdb/patches/patch-gdb_linux-nat_c')
-rw-r--r-- | package/gdb/patches/patch-gdb_linux-nat_c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/gdb/patches/patch-gdb_linux-nat_c b/package/gdb/patches/patch-gdb_linux-nat_c new file mode 100644 index 000000000..50ba9bf6c --- /dev/null +++ b/package/gdb/patches/patch-gdb_linux-nat_c @@ -0,0 +1,26 @@ +--- gdb-7.6.orig/gdb/linux-nat.c 2013-02-13 15:59:49.000000000 +0100 ++++ gdb-7.6/gdb/linux-nat.c 2013-08-13 17:01:09.000000000 +0200 +@@ -79,6 +79,14 @@ + # endif + #endif /* HAVE_PERSONALITY */ + ++#ifndef __SIGRTMIN ++#define __SIGRTMIN SIGRTMIN ++#endif ++ ++#ifndef W_STOPCODE ++#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) ++#endif ++ + /* This comment documents high-level logic of this file. + + Waiting for events in sync mode +@@ -2379,7 +2387,7 @@ linux_handle_extended_wait (struct lwp_i + status = 0; + } + +- if (non_stop) ++ if (1) + { + /* Add the new thread to GDB's lists as soon as possible + so that: |