+2017-03-22 Yao Qi <yao.qi@linaro.org>
+
+ * aarch64-tdep.c: Wrap locally used classes in anonymous
+ namespace.
+ * arm-tdep.c: Likewise.
+ * linespec.c: Likewise.
+ * ui-out.c: Likewise.
+
2017-03-22 Jonah Graham <jonah@kichwacoders.com>
PR gdb/19637
fprintf_filtered (file, _("AArch64 debugging is %s.\n"), value);
}
+namespace {
+
/* Abstract instruction reader. */
class abstract_instruction_reader
}
};
+} // namespace
+
/* Analyze a prologue, looking for a recognizable stack frame
and frame pointer. Scan until we encounter a store that could
clobber the stack frame unexpectedly, or an unknown instruction. */
return -1;
}
+namespace {
/* Abstract memory reader. */
class abstract_memory_reader
}
};
+} // namespace
+
/* Extracts arm/thumb/thumb2 insn depending on the size, and returns 0 on success
and positive val on fauilure. */
return values;
}
+namespace {
+
/* A function object that serves as symbol_found_callback_ftype
callback for iterate_over_symbols. This is used by
lookup_prefix_sym to collect type symbols. */
return true; /* Continue iterating. */
}
+} // namespace
+
/* Return any symbols corresponding to CLASS_NAME in FILE_SYMTABS. */
static VEC (symbolp) *
\f
+namespace {
+
/* This function object is a callback for iterate_over_symtabs, used
when collecting all matching symtabs. */
return false;
}
+} // namespace
+
/* Given a file name, return a VEC of all matching symtabs. If
SEARCH_PSPACE is not NULL, the search is restricted to just that
program space. */
#include <string>
#include <memory>
+namespace {
+
/* A header of a ui_out_table. */
class ui_out_hdr
std::string m_header;
};
+} // namespace
+
/* A level of nesting (either a list or a tuple) in a ui_out output. */
class ui_out_level