components/gdb/patches/gdb.solib-svr4.patch
author Petr Nyc <Petr.Nyc@Oracle.COM>
Tue, 12 May 2015 23:23:48 -0700
branchs11u2-sru
changeset 4281 7f73ae50e3ad
parent 2814 dff3ca0071d6
child 6420 65948e9e205b
permissions -rw-r--r--
Added tag 0.175.2.11.0.2.0, S11.2SRU11.2 for changeset 4782701200b5

--- gdb-7.6/gdb/solib-svr4.c	2013-01-31 05:52:52.000000000 -0800
+++ gdb-7.6/gdb/solib-svr4.c	2013-07-10 23:32:20.908310500 -0700
@@ -125,6 +125,10 @@
       && strcmp (inferior_so_name, "/lib/ld.so.1") == 0)
     return 1;
 
+  if (strcmp (gdb_so_name, "/usr/lib/amd64/ld.so.1") == 0
+      && strcmp (inferior_so_name, "/lib/amd64/ld.so.1") == 0)
+    return 1;
+
   /* Similarly, we observed the same issue with sparc64, but with
      different locations.  */
   if (strcmp (gdb_so_name, "/usr/lib/sparcv9/ld.so.1") == 0