aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-10-21 17:19:38 +0000
committerAndrew Cagney <cagney@redhat.com>2001-10-21 17:19:38 +0000
commitfd0407d670c5a89ba5ba8cba65a056ac8c709e75 (patch)
tree4cd513b3845e553ebe500f052ee48fb36639a9fa
parent1b90af266c5bf8ef4cfd5c09c79c468cfaf32c6a (diff)
downloadfsf-binutils-gdb-fd0407d670c5a89ba5ba8cba65a056ac8c709e75.zip
fsf-binutils-gdb-fd0407d670c5a89ba5ba8cba65a056ac8c709e75.tar.gz
fsf-binutils-gdb-fd0407d670c5a89ba5ba8cba65a056ac8c709e75.tar.bz2
Add explicit #include of "value.h".
-rw-r--r--gdb/ChangeLog12
-rw-r--r--gdb/Makefile.in21
-rw-r--r--gdb/arm-tdep.c1
-rw-r--r--gdb/config/a29k/tm-vx29k.h1
-rw-r--r--gdb/exec.c1
-rw-r--r--gdb/gdbarch.c1
-rw-r--r--gdb/gdbarch.h3
-rwxr-xr-xgdb/gdbarch.sh4
-rw-r--r--gdb/i386-tdep.c1
-rw-r--r--gdb/ia64-tdep.c1
-rw-r--r--gdb/infrun.c1
-rw-r--r--gdb/ppc-linux-tdep.c1
-rw-r--r--gdb/remote-es.c1
-rw-r--r--gdb/remote.c1
-rw-r--r--gdb/rs6000-tdep.c1
-rw-r--r--gdb/s390-tdep.c2
-rw-r--r--gdb/tui/ChangeLog5
-rw-r--r--gdb/tui/tuiDisassem.c1
-rw-r--r--gdb/tui/tuiSourceWin.c1
-rw-r--r--gdb/x86-64-tdep.c1
20 files changed, 50 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 431cc3d..820cce0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 14ca4e0..b94aff4 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 1cb42a3..d220e3d 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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.
diff --git a/gdb/config/a29k/tm-vx29k.h b/gdb/config/a29k/tm-vx29k.h
index 34bd17c..fb6ecb3 100644
--- a/gdb/config/a29k/tm-vx29k.h
+++ b/gdb/config/a29k/tm-vx29k.h
@@ -20,6 +20,7 @@
Boston, MA 02111-1307, USA. */
#include "regcache.h"
+#include "value.h"
#include "a29k/tm-a29k.h"
#include "tm-vxworks.h"
diff --git a/gdb/exec.c b/gdb/exec.c
index 511977f..24048f7 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -29,6 +29,7 @@
#include "symfile.h"
#include "objfiles.h"
#include "completer.h"
+#include "value.h"
#ifdef USG
#include <sys/types.h>
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 4dceeac..e5b6c45 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -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"
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 2a9fe71..26ae3aa 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -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;
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index f5855f8..d1354d9 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -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"
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index c55757e..d1a730c 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -33,6 +33,7 @@
#include "arch-utils.h"
#include "regcache.h"
#include "doublest.h"
+#include "value.h"
#include "gdb_assert.h"
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 9bbf317..a9d3360 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -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 */
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 6b62a41..18bb8c0 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -38,6 +38,7 @@
#include <signal.h>
#include "inf-loop.h"
#include "regcache.h"
+#include "value.h"
/* Prototypes for local functions */
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 68846bd..06fc294 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -30,6 +30,7 @@
#include "symfile.h"
#include "objfiles.h"
#include "regcache.h"
+#include "value.h"
#include "ppc-tdep.h"
diff --git a/gdb/remote-es.c b/gdb/remote-es.c
index ff12e88..c315f37 100644
--- a/gdb/remote-es.c
+++ b/gdb/remote-es.c
@@ -111,6 +111,7 @@
#include "gdbcore.h"
#include "serial.h"
#include "regcache.h"
+#include "value.h"
/* Prototypes for local functions */
diff --git a/gdb/remote.c b/gdb/remote.c
index 0555088..e7b7169 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -36,6 +36,7 @@
#include "gdbthread.h"
#include "remote.h"
#include "regcache.h"
+#include "value.h"
#include <ctype.h>
#include <sys/time.h>
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 82c18c1..12c6ed5 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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 */
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 1590268..0be848c 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -35,7 +35,7 @@
#include "../bfd/bfd.h"
#include "floatformat.h"
#include "regcache.h"
-
+#include "value.h"
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index 2771d3a..62ebed5 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -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.
diff --git a/gdb/tui/tuiDisassem.c b/gdb/tui/tuiDisassem.c
index 9766bbb..f7c3c6b 100644
--- a/gdb/tui/tuiDisassem.c
+++ b/gdb/tui/tuiDisassem.c
@@ -23,6 +23,7 @@
#include "symtab.h"
#include "breakpoint.h"
#include "frame.h"
+#include "value.h"
#include "tui.h"
#include "tuiData.h"
diff --git a/gdb/tui/tuiSourceWin.c b/gdb/tui/tuiSourceWin.c
index 1fb0ddf..388ec3e 100644
--- a/gdb/tui/tuiSourceWin.c
+++ b/gdb/tui/tuiSourceWin.c
@@ -24,6 +24,7 @@
#include "symtab.h"
#include "frame.h"
#include "breakpoint.h"
+#include "value.h"
#include "tui.h"
#include "tuiData.h"
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index d51e0e9..06aef95 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -29,6 +29,7 @@
#include "symfile.h"
#include "x86-64-tdep.h"
#include "dwarf2cfi.h"
+#include "value.h"
/* Register numbers of various important registers. */