[Crosstoolchain-logs] [gdb] 02/04: Work around PR libc/13097 linux-vdso.so.1

Hector Oron zumbi at moszumanska.debian.org
Thu May 8 12:51:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch master
in repository gdb.

commit aff26e63609c9807c7d4beba83dc53d76fd9f5b7
Author: Héctor Orón Martínez <zumbi at debian.org>
Date:   Thu May 8 14:03:18 2014 +0200

    Work around PR libc/13097 linux-vdso.so.1
    
    Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>
---
 debian/patches/gdb-glibc-vdso-workaround.patch | 30 ++++++++++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/gdb-glibc-vdso-workaround.patch b/debian/patches/gdb-glibc-vdso-workaround.patch
new file mode 100644
index 0000000..48646d7
--- /dev/null
+++ b/debian/patches/gdb-glibc-vdso-workaround.patch
@@ -0,0 +1,30 @@
+http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html
+Subject: [RFC] Work around PR libc/13097 "linux-vdso.so.1" #2
+
+Hi,
+
+missed the x86_64-m32 case:
+
+gdb/
+2011-08-16  Jan Kratochvil  <jan.kratochvil at redhat.com>
+
+	Work around PR libc/13097.
+	* solib.c (update_solib_list): Ignore "linux-vdso.so.1".
+
+--- a/gdb/solib.c
++++ b/gdb/solib.c
+@@ -783,8 +783,11 @@ update_solib_list (int from_tty, struct target_ops *target)
+ 
+ 	  TRY_CATCH (e, RETURN_MASK_ERROR)
+ 	    {
+-	      /* Fill in the rest of the `struct so_list' node.  */
+-	      if (!solib_map_sections (i))
++	      /* Fill in the rest of the `struct so_list' node.
++		 Work around PR libc/13097.  */
++	      if (!solib_map_sections (i)
++		  && strcmp (i->so_original_name, "linux-vdso.so.1") != 0
++		  && strcmp (i->so_original_name, "linux-gate.so.1") != 0)
+ 		{
+ 		  not_found++;
+ 		  if (not_found_filename == NULL)
+
diff --git a/debian/patches/series b/debian/patches/series
index 67a787b..2782b55 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ solve_PATH_MAX_issue.patch
 gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
 python-config.patch
 ppc64le.diff
+gdb-glibc-vdso-workaround.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gdb/gdb.git



More information about the Crosstoolchain-logs mailing list