gdb.solib-svr4.patch revision 6418
6418N/A# Patch required for Solaris.
6418N/A# Will contribute upstream if possible.
6418N/A
6418N/A--- gdb-7.11-orig/gdb/solib-svr4.c Tue Feb 9 19:19:39 2016
6418N/A+++ gdb-7.11/gdb/solib-svr4.c Thu Mar 10 13:12:47 2016
6418N/A@@ -174,6 +174,10 @@
2074N/A && strcmp (inferior_so_name, "/lib/ld.so.1") == 0)
243N/A return 1;
2074N/A
2074N/A+ if (strcmp (gdb_so_name, "/usr/lib/amd64/ld.so.1") == 0
2074N/A+ && strcmp (inferior_so_name, "/lib/amd64/ld.so.1") == 0)
243N/A+ return 1;
2074N/A+
2074N/A /* Similarly, we observed the same issue with sparc64, but with
2074N/A different locations. */
2074N/A if (strcmp (gdb_so_name, "/usr/lib/sparcv9/ld.so.1") == 0