aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
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/symtab.h
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/symtab.h')
-rw-r--r--gdb/symtab.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 41a0fd6..eb7c53b 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -784,6 +784,11 @@ struct symtab
unsigned int epilogue_unwind_valid : 1;
+ /* At least GCC 4.6.0 and 4.6.1 can produce invalid false prologue and marker
+ on amd64. This flag is set independently of the symtab arch. */
+
+ unsigned amd64_prologue_line_bug : 1;
+
/* The macro table for this symtab. Like the blockvector, this
may be shared between different symtabs --- and normally is for
all the symtabs in a given compilation unit. */