0006-use-asm-sgidefs.h.patch 1005 B

123456789101112131415161718192021222324252627282930313233343536
  1. From 4b02e54b87d435e1715ce871bcce720561a7afb1 Mon Sep 17 00:00:00 2001
  2. From: Andre McCurdy <amccurdy@gmail.com>
  3. Date: Sat, 30 Apr 2016 15:29:06 -0700
  4. Subject: [PATCH 06/11] use <asm/sgidefs.h>
  5. Build fix for MIPS with musl libc
  6. The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
  7. but not by musl. Regardless of the libc, the kernel headers provide
  8. <asm/sgidefs.h> which provides the same definitions, so use that
  9. instead.
  10. Upstream-Status: Pending
  11. Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
  12. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  13. ---
  14. gdb/mips-linux-nat.c | 2 +-
  15. 1 file changed, 1 insertion(+), 1 deletion(-)
  16. diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
  17. index 4337795bac8..7c8e54cabe0 100644
  18. --- a/gdb/mips-linux-nat.c
  19. +++ b/gdb/mips-linux-nat.c
  20. @@ -31,7 +31,7 @@
  21. #include "gdb_proc_service.h"
  22. #include "gregset.h"
  23. -#include <sgidefs.h>
  24. +#include <asm/sgidefs.h>
  25. #include "nat/gdb_ptrace.h"
  26. #include <asm/ptrace.h>
  27. #include "inf-ptrace.h"
  28. --
  29. 2.29.2