aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-06-29 22:19:24 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-06-29 22:19:24 +0000
commite0d00bc749e6b35f45c3497a55c9d2b0606b33d2 (patch)
tree836d19cf711688fa0240628fb192a86c4b758a31 /gdb/dwarf2read.c
parent4632c0d0fff081cb28947ede3d6804e8a470423c (diff)
downloadgdb-e0d00bc749e6b35f45c3497a55c9d2b0606b33d2.zip
gdb-e0d00bc749e6b35f45c3497a55c9d2b0606b33d2.tar.gz
gdb-e0d00bc749e6b35f45c3497a55c9d2b0606b33d2.tar.bz2
gdb/
Disable epilogue unwinders on recent GCCs. * amd64-tdep.c (amd64_in_function_epilogue_p): New variable symtab, initialize it, return 0 on EPILOGUE_UNWIND_VALID. * dwarf2read.c (process_full_comp_unit): Initialize EPILOGUE_UNWIND_VALID. * i386-tdep.c (i386_in_function_epilogue_p): New variable symtab, initialize it, return 0 on EPILOGUE_UNWIND_VALID. * symtab.h (struct symtab): New field epilogue_unwind_valid.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b17d74d..e078c62 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4751,6 +4751,9 @@ process_full_comp_unit (struct dwarf2_per_cu_data *per_cu)
*/
if (cu->has_loclist && gcc_4_minor >= 0)
symtab->locations_valid = 1;
+
+ if (gcc_4_minor >= 5)
+ symtab->epilogue_unwind_valid = 1;
}
if (dwarf2_per_objfile->using_index)