Blame SOURCES/gdb-glibc-vdso-workaround.patch

e1d87d
http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html
e1d87d
Subject: [RFC] Work around PR libc/13097 "linux-vdso.so.1" #2
e1d87d
e1d87d
Hi,
e1d87d
e1d87d
missed the x86_64-m32 case:
e1d87d
e1d87d
gdb/
e1d87d
2011-08-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
e1d87d
e1d87d
	Work around PR libc/13097.
e1d87d
	* solib.c (update_solib_list): Ignore "linux-vdso.so.1".
e1d87d
e1d87d
Index: gdb-7.9.50.20150520/gdb/solib.c
e1d87d
===================================================================
e1d87d
--- gdb-7.9.50.20150520.orig/gdb/solib.c	2015-05-31 17:04:16.870802493 +0200
e1d87d
+++ gdb-7.9.50.20150520/gdb/solib.c	2015-05-31 17:04:38.824941054 +0200
e1d87d
@@ -893,8 +893,11 @@ update_solib_list (int from_tty, struct
e1d87d
 
e1d87d
 	  TRY
e1d87d
 	    {
e1d87d
-	      /* Fill in the rest of the `struct so_list' node.  */
e1d87d
-	      if (!solib_map_sections (i))
e1d87d
+	      /* Fill in the rest of the `struct so_list' node.
e1d87d
+		 Work around PR libc/13097.  */
e1d87d
+	      if (!solib_map_sections (i)
e1d87d
+		  && strcmp (i->so_original_name, "linux-vdso.so.1") != 0
e1d87d
+		  && strcmp (i->so_original_name, "linux-gate.so.1") != 0)
e1d87d
 		{
e1d87d
 		  not_found++;
e1d87d
 		  if (not_found_filename == NULL)