This helps resolve some cyclic include problem later in the series.
The only language-related thing frame.h needs is enum language, and that
is in defs.h.
Doing so reveals that a bunch of files were relying on frame.h to
include language.h, so fix the fallouts here and there.
Change-Id: I178a7efec1953c2d088adb58483bade1f349b705
Reviewed-By: Bruno Larsen <blarsen@redhat.com>
16 files changed:
#include "defs.h"
#include "frame.h"
+#include "language.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "dis-asm.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "opcode/i386.h"
#include "dis-asm.h"
#include "arch-utils.h"
#include <ctype.h> /* XXX for isupper (). */
#include "frame.h"
+#include "language.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbcmd.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "value.h"
#include "cp-abi.h"
#include "command.h"
#include "defs.h"
#include "cp-support.h"
+#include "language.h"
#include "demangle.h"
#include "gdbcmd.h"
#include "dictionary.h"
#include "c-lang.h"
#include "cp-abi.h"
#include "expression.h"
+#include "language.h"
#include "objfiles.h"
#include "gdbsupport/traits.h"
#include "gdbsupport/enum-flags.h"
#ifndef F_LANG_H
#define F_LANG_H
+#include "language.h"
#include "valprint.h"
struct type_print_options;
*/
-#include "language.h"
#include "cli/cli-option.h"
#include "gdbsupport/common-debug.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "value.h"
#include "cp-abi.h"
#include "cp-support.h"
struct type_print_options;
+#include "language.h"
#include "gdbtypes.h"
#include "symtab.h"
#include "value.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "gdbsupport/gdb_obstack.h"
#include "bfd.h" /* Binary File Description */
#include "symtab.h"
#include "defs.h"
#include "namespace.h"
#include "frame.h"
+#include "symtab.h"
/* Add a using directive to USING_DIRECTIVES. If the using directive
in question has already been added, don't add it twice.
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "gdbcore.h"
#include "inferior.h"
#include "regcache.h"
#include "defs.h"
#include "python-internal.h"
+#include "language.h"
#include "dis-asm.h"
#include "arch-utils.h"
#include "charset.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "charset.h"
#include "block.h"
#include "frame.h"
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "symtab.h"
#include "frame.h"
#include "inferior.h"