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