From 08711b9a36344df9e29be436d9f959324fff4f42 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 8 Sep 2011 15:38:16 +0000 Subject: 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. --- gdb/dwarf2read.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/dwarf2read.c') 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) -- cgit v1.1