patch-gdb_linux-nat_c 624 B

1234567891011121314151617181920212223242526
  1. --- gdb-7.6.orig/gdb/linux-nat.c 2013-02-13 15:59:49.000000000 +0100
  2. +++ gdb-7.6/gdb/linux-nat.c 2013-08-13 17:01:09.000000000 +0200
  3. @@ -79,6 +79,14 @@
  4. # endif
  5. #endif /* HAVE_PERSONALITY */
  6. +#ifndef __SIGRTMIN
  7. +#define __SIGRTMIN SIGRTMIN
  8. +#endif
  9. +
  10. +#ifndef W_STOPCODE
  11. +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
  12. +#endif
  13. +
  14. /* This comment documents high-level logic of this file.
  15. Waiting for events in sync mode
  16. @@ -2379,7 +2387,7 @@ linux_handle_extended_wait (struct lwp_i
  17. status = 0;
  18. }
  19. - if (non_stop)
  20. + if (1)
  21. {
  22. /* Add the new thread to GDB's lists as soon as possible
  23. so that: