]>
Commit | Line | Data |
---|---|---|
f412e1b4 PS |
1 | http://sourceware.org/ml/gdb-patches/2011-08/msg00331.html |
2 | Subject: [RFC] Work around PR libc/13097 "linux-vdso.so.1" #2 | |
3 | ||
4 | Hi, | |
5 | ||
6 | missed the x86_64-m32 case: | |
7 | ||
8 | gdb/ | |
9 | 2011-08-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10 | ||
11 | Work around PR libc/13097. | |
12 | * solib.c (update_solib_list): Ignore "linux-vdso.so.1". | |
13 | ||
14 | --- a/gdb/solib.c | |
15 | +++ b/gdb/solib.c | |
16 | @@ -783,8 +783,11 @@ update_solib_list (int from_tty, struct target_ops *target) | |
17 | ||
18 | TRY_CATCH (e, RETURN_MASK_ERROR) | |
19 | { | |
20 | - /* Fill in the rest of the `struct so_list' node. */ | |
21 | - if (!solib_map_sections (i)) | |
22 | + /* Fill in the rest of the `struct so_list' node. | |
23 | + Work around PR libc/13097. */ | |
24 | + if (!solib_map_sections (i) | |
25 | + && strcmp (i->so_original_name, "linux-vdso.so.1") != 0 | |
26 | + && strcmp (i->so_original_name, "linux-gate.so.1") != 0) | |
27 | { | |
28 | not_found++; | |
29 | if (not_found_filename == NULL) | |
30 |