aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-07-27 14:45:37 +0000
committerTom Tromey <tromey@redhat.com>2011-07-27 14:45:37 +0000
commit24d3216fd914347928f66a31c5b3be7c98e90be8 (patch)
tree13fa18ab74e50457dbe6474cfd28bac94599518a /gdb/symfile.h
parent088b3cd0cecf4795b1b58224c03bcffeebe2dc73 (diff)
downloadgdb-24d3216fd914347928f66a31c5b3be7c98e90be8.zip
gdb-24d3216fd914347928f66a31c5b3be7c98e90be8.tar.gz
gdb-24d3216fd914347928f66a31c5b3be7c98e90be8.tar.bz2
* xcoffread.c (dwarf2_xcoff_names): Add 'macro' and 'sentinel'
entries. * symfile.h (struct dwarf2_debug_sections) <sentinel>: New field. * dwarf2read.c (dwarf2_elf_names): Add sentinel entry.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index eb5beaa..0e648d0 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -589,6 +589,9 @@ struct dwarf2_debug_sections {
struct dwarf2_section_names frame;
struct dwarf2_section_names eh_frame;
struct dwarf2_section_names gdb_index;
+ /* This field has no meaning, but exists solely to catch changes to
+ this structure which are not reflected in some instance. */
+ int sentinel;
};
extern int dwarf2_has_info (struct objfile *,