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

f9426a
http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html
f9426a
Subject: [RFC] Work around PR libc/13097 "linux-vdso.so.1" #2
f9426a
f9426a
Hi,
f9426a
f9426a
missed the x86_64-m32 case:
f9426a
f9426a
gdb/
f9426a
2011-08-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
f9426a
f9426a
	Work around PR libc/13097.
f9426a
	* solib.c (update_solib_list): Ignore "linux-vdso.so.1".
f9426a
f9426a
--- a/gdb/solib.c
f9426a
+++ b/gdb/solib.c
f9426a
@@ -783,8 +783,11 @@ update_solib_list (int from_tty, struct target_ops *target)
f9426a
 
f9426a
 	  TRY_CATCH (e, RETURN_MASK_ERROR)
f9426a
 	    {
f9426a
-	      /* Fill in the rest of the `struct so_list' node.  */
f9426a
-	      if (!solib_map_sections (i))
f9426a
+	      /* Fill in the rest of the `struct so_list' node.
f9426a
+		 Work around PR libc/13097.  */
f9426a
+	      if (!solib_map_sections (i)
f9426a
+		  && strcmp (i->so_original_name, "linux-vdso.so.1") != 0
f9426a
+		  && strcmp (i->so_original_name, "linux-gate.so.1") != 0)
f9426a
 		{
f9426a
 		  not_found++;
f9426a
 		  if (not_found_filename == NULL)
f9426a