components/gdb/patches/gdb.solib-svr4.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 26 May 2014 23:01:02 -0700
changeset 1919 918b1af28918
parent 1511 4d3b0b480760
child 6420 65948e9e205b
permissions -rw-r--r--
Added tag s12-49 for changeset fc32d21aae4c

--- 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