components/gdb/patches/gdb.solib-svr4.patch
author Huie-Ying Lee <huieying.lee@oracle.com>
Fri, 20 Dec 2013 12:17:34 -0800
changeset 1612 3f2ec017627f
parent 1511 4d3b0b480760
child 6420 65948e9e205b
permissions -rw-r--r--
PSARC 2012/335 OpenSSH migration PSARC 2013/115 Shared configuration for SunSSH & OpenSSH 15769261 SUNBT7135649 Deliver OpenSSH 6.0P1 in the userland gate (OpenSSH migration phase 2) 16306216 problem in UTILITY/OPENSSH

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