diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-12 22:40:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-12 22:40:59 +0200 |
commit | d0ac419702c94bf2d2eda50b008613bac8149745 (patch) | |
tree | c5c4631cd19aca23abf9b76abf1ecf4d50ee6f93 /package/gdb-microblaze/patches/patch-gdb_linux-nat_c | |
parent | 9dcf0c59a384703891da3a65ce3df4742b5e7b4f (diff) |
gdb: decouple toolchain and package, add special package for microblaze, looks cleaner to me
Diffstat (limited to 'package/gdb-microblaze/patches/patch-gdb_linux-nat_c')
-rw-r--r-- | package/gdb-microblaze/patches/patch-gdb_linux-nat_c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/gdb-microblaze/patches/patch-gdb_linux-nat_c b/package/gdb-microblaze/patches/patch-gdb_linux-nat_c new file mode 100644 index 000000000..9ba7254ca --- /dev/null +++ b/package/gdb-microblaze/patches/patch-gdb_linux-nat_c @@ -0,0 +1,28 @@ +* added from https://github.com/rofl0r/sabotage + +--- 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: |