aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-09-08 15:38:16 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-09-08 15:38:16 +0000
commit08711b9a36344df9e29be436d9f959324fff4f42 (patch)
tree5107fb8d69f110c93e06ce2ce356ee7d4229494a /gdb/dwarf2read.c
parentb2e7f004c75322ea75cc9326bc6c6f4b6577df7f (diff)
downloadgdb-08711b9a36344df9e29be436d9f959324fff4f42.zip
gdb-08711b9a36344df9e29be436d9f959324fff4f42.tar.gz
gdb-08711b9a36344df9e29be436d9f959324fff4f42.tar.bz2
gdb/
PR breakpoints/12435 * amd64-tdep.c (amd64_skip_prologue): New variables start_pc_sal, next_sal, buf, offset and xmmreg. Advance PC if it sees the PR. * dwarf2read.c (process_full_comp_unit): Initialize amd64_prologue_line_bug. * symtab.h (struct symtab): New field amd64_prologue_line_bug. gdb/testsuite/ PR breakpoints/12435 * gdb.arch/amd64-prologue-xmm.c: New file. * gdb.arch/amd64-prologue-xmm.exp: New file. * gdb.arch/amd64-prologue-xmm.s: New file.
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 9e0a0ef..c79f2be 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4829,6 +4829,9 @@ process_full_comp_unit (struct dwarf2_per_cu_data *per_cu)
if (gcc_4_minor >= 5)
symtab->epilogue_unwind_valid = 1;
+
+ if (gcc_4_minor >= 6)
+ symtab->amd64_prologue_line_bug = 1;
}
if (dwarf2_per_objfile->using_index)