From FEDORA_PATCHES Mon Sep 17 00:00:00 2001 From: Fedora GDB patches Date: Fri, 27 Oct 2017 21:07:50 +0200 Subject: Work around PR libc/13097 "linux-vdso.so.1" #2 FileName: gdb-glibc-vdso-workaround.patch ;; Work around PR libc/13097 "linux-vdso.so.1" warning message. ;;=push+jan http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html Hi, missed the x86_64-m32 case: gdb/ 2011-08-16 Jan Kratochvil Work around PR libc/13097. * solib.c (update_solib_list): Ignore "linux-vdso.so.1". --- gdb/solib.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/solib.c b/gdb/solib.c index 3dba5eaa8a..17c0a02f27 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -884,8 +884,11 @@ update_solib_list (int from_tty) TRY { - /* 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) -- 2.14.3