Add explicit #include of "value.h".
authorAndrew Cagney <cagney@redhat.com>
Sun, 21 Oct 2001 17:19:38 +0000 (17:19 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 21 Oct 2001 17:19:38 +0000 (17:19 +0000)
20 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/arm-tdep.c
gdb/config/a29k/tm-vx29k.h
gdb/exec.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/i386-tdep.c
gdb/ia64-tdep.c
gdb/infrun.c
gdb/ppc-linux-tdep.c
gdb/remote-es.c
gdb/remote.c
gdb/rs6000-tdep.c
gdb/s390-tdep.c
gdb/tui/ChangeLog
gdb/tui/tuiDisassem.c
gdb/tui/tuiSourceWin.c
gdb/x86-64-tdep.c

index 431cc3d..820cce0 100644 (file)
@@ -1,3 +1,15 @@
+2001-10-21  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
+       * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
+       * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
+       * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
+       * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
+       (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
+       (x86-64-tdep.o): Update dependencies.
+       * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
+       * gdbarch.h, gdbarch.c: Re-generate.
+
 2001-10-21  Mark Kettenis  <kettenis@gnu.org>
 
        * infptrace.c (child_xfer_memory): Fix a few coding standards
index 14ca4e0..b94aff4 100644 (file)
@@ -1220,7 +1220,7 @@ arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
        $(gdbtypes_h) $(floatformat_h) $(regcache_h) $(doublest_h)
 
 arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
-       $(gdbcore_h) $(regcache_h) $(doublest_h)
+       $(gdbcore_h) $(regcache_h) $(doublest_h) $(value_h)
 
 bcache.o: bcache.c bcache.h $(defs_h)
 
@@ -1352,7 +1352,7 @@ inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(inf_loop_h) $(event_loop_h) \
         $(event_top_h)
 
 exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
-       $(target_h) language.h $(gdb_string_h) $(completer_h)
+       $(target_h) language.h $(gdb_string_h) $(completer_h) $(value_h)
 
 expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
        language.h $(parser_defs_h) $(symtab_h) $(value_h)
@@ -1513,7 +1513,7 @@ i386gnu-nat.o: gnu-nat.h
 i386-tdep.o: i386-tdep.c $(defs_h) $(gdb_string_h) $(frame_h)  \
        $(inferior_h) $(gdbcore_h) $(target_h) $(floatformat_h) \
        $(symtab_h) $(gdbcmd_h) $(command_h) $(arch_utils_h) $(regcache_h) \
-       $(doublest_h)
+       $(doublest_h) $(value_h)
 
 i386-nat.o: i386-nat.c $(defs_h) $(breakpoint_h) $(command_h) $(gdbcmd_h)
 
@@ -1564,7 +1564,7 @@ ia64-linux-nat.o: ia64-linux-nat.c  $(defs_h) $(inferior_h) $(target_h) \
 ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(arch_utils_h)
 
 ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
-       $(arch_utils_h) $(floatformat_h) objfiles.h \
+       $(arch_utils_h) $(floatformat_h) objfiles.h $(value_h) \
        $(INCLUDE_DIR)/elf/common.h $(regcache_h) $(doublest_h)
 
 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
@@ -1578,7 +1578,7 @@ infptrace.o: infptrace.c $(defs_h) $(gdbcore_h) $(inferior_h) $(target_h) \
        $(gdb_string_h) gdb_wait.h $(command_h) $(regcache_h)
 
 infrun.o: infrun.c gdb_wait.h $(defs_h) $(gdbcmd_h) $(cli_script_h) \
-       $(gdbcore_h) \
+       $(gdbcore_h) $(value_h) \
        $(inferior_h) $(target_h) $(gdbthread_h) $(gdb_string_h) $(event_loop_h) \
        $(event_top_h) $(regcache_h)
 
@@ -1772,7 +1772,7 @@ ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(gdbcore_h) $(frame_h) \
        $(inferior_h) $(target_h) $(regcache_h)
 
 ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
-       $(target_h) ppc-tdep.h $(regcache_h)
+       $(target_h) ppc-tdep.h $(regcache_h) $(value_h)
 
 ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) \
        $(gdbcmd_h) $(inferior_h) $(target_h) serial.h terminal.h $(regcache_h)
@@ -1848,7 +1848,7 @@ remote-eb.o: remote-eb.c $(srcdir)/config/a29k/tm-a29k.h \
 
 remote-es.o: remote-es.c $(bfd_h) $(command_h) $(defs_h) \
        $(inferior_h) $(remote_utils_h) terminal.h $(gdb_string_h) \
-       $(symfile_h) $(regcache_h)
+       $(symfile_h) $(regcache_h) $(value_h)
 
 remote-est.o: remote-est.c $(defs_h) $(gdbcore_h) \
        $(inferior_h) serial.h $(target_h) terminal.h $(regcache_h)
@@ -1906,7 +1906,7 @@ remote-utils.o: remote-utils.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
 
 remote.o: remote.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \
        $(inferior_h) $(remote_utils_h) $(symfile_h) terminal.h $(gdb_string_h) \
-       $(event_loop_h) $(event_top_h) $(remote_h) $(inf_loop_h)
+       $(event_loop_h) $(event_top_h) $(remote_h) $(inf_loop_h) $(value_h)
 
 remote-nrom.o: remote-nrom.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \
        $(inferior_h) $(remote_utils_h) $(symfile_h) terminal.h
@@ -1920,7 +1920,7 @@ rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \
        $(regcache_h)
 
 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
-       $(target_h) ppc-tdep.h $(regcache_h)
+       $(target_h) ppc-tdep.h $(regcache_h) $(value_h)
 
 scm-exp.o: $(defs_h) $(value_h) $(parser_defs_h) language.h c-lang.h \
        scm-lang.h scm-tags.h
@@ -2083,7 +2083,8 @@ x86-64-linux-tdep.o : x86-64-linux-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) \
        $(regcache_h) x86-64-tdep.h i386-tdep.h
 
 x86-64-tdep.o : x86-64-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) $(gdbcmd_h) \
-       $(arch_utils_h) $(regcache_h) $(symfile_h) x86-64-tdep.h i386-tdep.h
+       $(arch_utils_h) $(regcache_h) $(symfile_h) x86-64-tdep.h i386-tdep.h \
+       $(value_h)
 
 x86-64-linux-tdep.o : x86-64-linux-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) \
        $(regcache_h) i387-nat.h x86-64-tdep.h i386-tdep.h
index 1cb42a3..d220e3d 100644 (file)
@@ -31,6 +31,7 @@
 #include <ctype.h>             /* for isupper () */
 #include "regcache.h"
 #include "doublest.h"
+#include "value.h"
 
 /* Each OS has a different mechanism for accessing the various
    registers stored in the sigcontext structure.
index 34bd17c..fb6ecb3 100644 (file)
@@ -20,6 +20,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include "regcache.h"
+#include "value.h"
 #include "a29k/tm-a29k.h"
 #include "tm-vxworks.h"
 
index 511977f..24048f7 100644 (file)
@@ -29,6 +29,7 @@
 #include "symfile.h"
 #include "objfiles.h"
 #include "completer.h"
+#include "value.h"
 
 #ifdef USG
 #include <sys/types.h>
index 4dceeac..e5b6c45 100644 (file)
@@ -55,6 +55,7 @@
 #include "gdbthread.h"
 #include "annotate.h"
 #include "symfile.h"           /* for overlay functions */
+#include "value.h"             /* For old tm.h/nm.h macros.  */
 #endif
 #include "symcat.h"
 
index 2a9fe71..26ae3aa 100644 (file)
@@ -36,6 +36,9 @@
 #define GDBARCH_H
 
 #include "dis-asm.h" /* Get defs for disassemble_info, which unfortunately is a typedef. */
+#if !GDB_MULTI_ARCH
+#include "value.h" /* For default_coerce_float_to_double which is referenced by a macro.  */
+#endif
 
 struct frame_info;
 struct value;
index f5855f8..d1354d9 100755 (executable)
@@ -632,6 +632,9 @@ cat <<EOF
 #define GDBARCH_H
 
 #include "dis-asm.h" /* Get defs for disassemble_info, which unfortunately is a typedef. */
+#if !GDB_MULTI_ARCH
+#include "value.h" /* For default_coerce_float_to_double which is referenced by a macro.  */
+#endif
 
 struct frame_info;
 struct value;
@@ -1127,6 +1130,7 @@ cat <<EOF
 #include "gdbthread.h"
 #include "annotate.h"
 #include "symfile.h"           /* for overlay functions */
+#include "value.h"             /* For old tm.h/nm.h macros.  */
 #endif
 #include "symcat.h"
 
index c55757e..d1a730c 100644 (file)
@@ -33,6 +33,7 @@
 #include "arch-utils.h"
 #include "regcache.h"
 #include "doublest.h"
+#include "value.h"
 
 #include "gdb_assert.h"
 
index 9bbf317..a9d3360 100644 (file)
@@ -27,6 +27,7 @@
 #include "floatformat.h"
 #include "regcache.h"
 #include "doublest.h"
+#include "value.h"
 
 #include "objfiles.h"
 #include "elf/common.h"                /* for DT_PLTGOT value */
index 6b62a41..18bb8c0 100644 (file)
@@ -38,6 +38,7 @@
 #include <signal.h>
 #include "inf-loop.h"
 #include "regcache.h"
+#include "value.h"
 
 /* Prototypes for local functions */
 
index 68846bd..06fc294 100644 (file)
@@ -30,6 +30,7 @@
 #include "symfile.h"
 #include "objfiles.h"
 #include "regcache.h"
+#include "value.h"
 
 #include "ppc-tdep.h"
 
index ff12e88..c315f37 100644 (file)
 #include "gdbcore.h"
 #include "serial.h"
 #include "regcache.h"
+#include "value.h"
 
 /* Prototypes for local functions */
 
index 0555088..e7b7169 100644 (file)
@@ -36,6 +36,7 @@
 #include "gdbthread.h"
 #include "remote.h"
 #include "regcache.h"
+#include "value.h"
 
 #include <ctype.h>
 #include <sys/time.h>
index 82c18c1..12c6ed5 100644 (file)
@@ -32,6 +32,7 @@
 #include "arch-utils.h"
 #include "regcache.h"
 #include "doublest.h"
+#include "value.h"
 
 #include "bfd/libbfd.h"                /* for bfd_default_set_arch_mach */
 #include "coff/internal.h"     /* for libcoff.h */
index 1590268..0be848c 100644 (file)
@@ -35,7 +35,7 @@
 #include "../bfd/bfd.h"
 #include "floatformat.h"
 #include "regcache.h"
-
+#include "value.h"
 
 
 
index 2771d3a..62ebed5 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-20  Andrew Cagney  <ac131313@redhat.com>
+
+       * tuiDisassem.c: Include "value.h".
+       * tuiSourceWin.c: Ditto.
+
 2001-09-28  Tom Tromey  <tromey@redhat.com>
 
        * tuiLayout.h (tui_set_layout): Don't declare.
index 9766bbb..f7c3c6b 100644 (file)
@@ -23,6 +23,7 @@
 #include "symtab.h"
 #include "breakpoint.h"
 #include "frame.h"
+#include "value.h"
 
 #include "tui.h"
 #include "tuiData.h"
index 1fb0ddf..388ec3e 100644 (file)
@@ -24,6 +24,7 @@
 #include "symtab.h"
 #include "frame.h"
 #include "breakpoint.h"
+#include "value.h"
 
 #include "tui.h"
 #include "tuiData.h"
index d51e0e9..06aef95 100644 (file)
@@ -29,6 +29,7 @@
 #include "symfile.h"
 #include "x86-64-tdep.h"
 #include "dwarf2cfi.h"
+#include "value.h"
 
 
 /* Register numbers of various important registers.  */