+ that var-cmd.dwo isn't clobbered.
+
+ * testsuite/boards/fission.exp: Add blaze support.
+--- README.google 2015-09-05 15:16:13.000000000 -0700
++++ README.google 2015-09-05 15:19:05.000000000 -0700
++
++2015-09-05 Doug Evans <dje@google.com>
++
++ * dwarf2read.c (use_index_sections): New static global.
++ (read_index_from_section): Check it.
++ (_initialize_dwarf2_read): New option "use-index-sections".
/* When non-zero, do not reject deprecated .gdb_index sections. */
static int use_deprecated_index_sections = 0;
+/* GOOGLE LOCAL
+ When non-zero, use the .gdb_index section if present.
+ This is an escape-hatch in case problems are found with the index. */
+static int use_index_sections = 1;
+
static const struct objfile_data *dwarf2_objfile_data_key;
/* The "aclass" indices for various kinds of computed DWARF symbols. */
offset_type *metadata;
int i;
+ if (!use_index_sections) /* GOOGLE LOCAL */
+ return 0;
+
if (dwarf2_section_empty_p (section))
return 0;
NULL,
&setlist, &showlist);
+ /* GOOGLE LOCAL: escape hatch in case an index is bad. */
+ add_setshow_boolean_cmd ("use-index-sections",
+ no_class, &use_index_sections, _("\
+Set whether to use gdb_index sections."), _("\
+Show whether to use gdb_index sections."), _("\
+When disabled .gdb_index sections are not used.\n\
+This option exists as an escape hatch in case of a bad index.\n\
+Warning: This option must be disabled before gdb reads the file."),
+ NULL,
+ NULL,
+ &setlist, &showlist);
+ /* END GOOGLE LOCAL */
+
c = add_cmd ("gdb-index", class_files, save_gdb_index_command,
_("\
Save a gdb-index file.\n\