]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch
- obsolete file
[packages/gdb.git] / gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch
1 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218379
2
3
4 Index: gdb-6.8.50.20081128/gdb/minsyms.c
5 ===================================================================
6 --- gdb-6.8.50.20081128.orig/gdb/minsyms.c      2008-10-01 18:56:52.000000000 +0200
7 +++ gdb-6.8.50.20081128/gdb/minsyms.c   2008-12-02 23:24:27.000000000 +0100
8 @@ -544,6 +544,11 @@ lookup_minimal_symbol_by_pc_section_1 (C
9                          don't fill the bfd_section member, so don't
10                          throw away symbols on those platforms.  */
11                       && SYMBOL_OBJ_SECTION (&msymbol[hi]) != NULL
12 +                     /* Don't ignore symbols for solib trampolines.
13 +                        Limit its sideeffects - only for non-0 sized trampolines.
14 +                        Red Hat Bug 200533 with its regression Bug 218379.  */
15 +                     && (MSYMBOL_TYPE (&msymbol[hi]) != mst_solib_trampoline
16 +                         || MSYMBOL_SIZE (&msymbol[hi]))
17                       && (!matching_obj_sections
18                           (SYMBOL_OBJ_SECTION (&msymbol[hi]), section)))
19                     {
This page took 0.208604 seconds and 3 git commands to generate.