gdb: remove language.h include from frame.h
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>
This commit is contained in:
parent
6ad66f21fc
commit
83b6e1f1c5
16 changed files with 15 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "defs.h"
|
||||
|
||||
#include "frame.h"
|
||||
#include "language.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "gdbcore.h"
|
||||
#include "dis-asm.h"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
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"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <ctype.h> /* XXX for isupper (). */
|
||||
|
||||
#include "frame.h"
|
||||
#include "language.h"
|
||||
#include "inferior.h"
|
||||
#include "infrun.h"
|
||||
#include "gdbcmd.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
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"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include "defs.h"
|
||||
#include "cp-support.h"
|
||||
#include "language.h"
|
||||
#include "demangle.h"
|
||||
#include "gdbcmd.h"
|
||||
#include "dictionary.h"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#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"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#ifndef F_LANG_H
|
||||
#define F_LANG_H
|
||||
|
||||
#include "language.h"
|
||||
#include "valprint.h"
|
||||
|
||||
struct type_print_options;
|
||||
|
|
|
@ -71,7 +71,6 @@
|
|||
|
||||
*/
|
||||
|
||||
#include "language.h"
|
||||
#include "cli/cli-option.h"
|
||||
#include "gdbsupport/common-debug.h"
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
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"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
struct type_print_options;
|
||||
|
||||
#include "language.h"
|
||||
#include "gdbtypes.h"
|
||||
#include "symtab.h"
|
||||
#include "value.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
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"
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#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.
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
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"
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "defs.h"
|
||||
#include "python-internal.h"
|
||||
#include "language.h"
|
||||
#include "dis-asm.h"
|
||||
#include "arch-utils.h"
|
||||
#include "charset.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
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"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue