* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixes
[binutils-gdb.git] / gdb / Makefile.in
index 40a65fc68199468c834b776c8bfb9e04bc0da178..14ca4e09662b1eb26fe2b85a6e88e63d7767f81c 100644 (file)
@@ -109,10 +109,6 @@ MMALLOC_CFLAGS = @MMALLOC_CFLAGS@
 # Configured by the --with-uiout option to configure.
 UIOUT_CFLAGS = @UIOUT_CFLAGS@
 
-# We are using our own version of REGEX now to be consistent across
-# machines.
-REGEX = @REGEX@
-
 # Where is the BFD library?  Typically in ../bfd.
 BFD_DIR = ../bfd
 BFD = $(BFD_DIR)/libbfd.a
@@ -265,6 +261,15 @@ LIBGUI = @LIBGUI@
 GUI_CFLAGS_X = @GUI_CFLAGS_X@
 IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
 
+# The version of gdbtk we're building. This should be kept
+# in sync with GDBTK_VERSION and friends in gdbtk.h.
+GDBTK_VERSION = 1.0
+GDBTK_LIBRARY = $(datadir)/insight$(GDBTK_VERSION)
+
+# Gdbtk requires an absolute path to the source directory or
+# the testsuite won't run properly.
+GDBTK_SRC_DIR = @GDBTK_SRC_DIR@
+
 SUBDIR_GDBTK_OBS = \
        gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o \
        gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o
@@ -278,8 +283,8 @@ SUBDIR_GDBTK_DEPS = \
 SUBDIR_GDBTK_INITS = gdbtk/generic/gdbtk.c
 SUBDIR_GDBTK_LDFLAGS=
 SUBDIR_GDBTK_CFLAGS= -DGDBTK
-SUBDIR_GDBTK_ALL= all-gdbtk
-SUBDIR_GDBTK_CLEAN= clean-gdbtk
+SUBDIR_GDBTK_ALL=
+SUBDIR_GDBTK_CLEAN=
 SUBDIR_GDBTK_INSTALL= install-gdbtk
 SUBDIR_GDBTK_UNINSTALL= 
 
@@ -297,7 +302,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
 CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
 
 # -I. for config files.
-# -I$(srcdir) for gdb internal headers and possibly for gnu-regex.h also.
+# -I$(srcdir) for gdb internal headers.
 # -I$(srcdir)/config for more generic config files.
 
 # It is also possible that you will need to add -I/usr/include/sys if
@@ -357,8 +362,8 @@ CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \
 CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \
        $(OPCODES) $(MMALLOC) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS)
 
-ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
-ADD_DEPS = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
+ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
+ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
 
 DIST=gdb
 
@@ -541,7 +546,7 @@ SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \
        tui/tuiStack.c tui/tuiStack.h tui/tuiWin.c tui/tuiWin.h \
        tui/tui-file.h tui/tui-file.c tui/tui-out.c tui/tui-hooks.c \
        ui-file.h ui-file.c \
-       frame.c \
+       frame.c doublest.c \
        gnu-v2-abi.c gnu-v3-abi.c hpacc-abi.c cp-abi.c
 
 LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
@@ -579,7 +584,7 @@ nm_h =              @nm_h@
 
 annotate_h =   annotate.h $(symtab_h) $(gdbtypes_h)
 arch_utils_h = arch-utils.h
-ax_h =                 ax.h
+ax_h =                 ax.h $(doublest_h)
 breakpoint_h = breakpoint.h $(frame_h) $(value_h)
 call_cmds_h =  call-cmds.h
 cli_cmds_h =   $(srcdir)/cli/cli-cmds.h
@@ -593,9 +598,10 @@ completer_h =      completer.h
 cp_abi_h =     cp-abi.h
 dcache_h =     dcache.h
 defs_h =       defs.h $(xm_h) $(tm_h) $(nm_h) config.status config.h gdbarch.h ui-file.h
+doublest_h =   doublest.h $(floatformat_h)
 event_loop_h =  event-loop.h
 event_top_h =  event-top.h
-expression_h = expression.h
+expression_h = expression.h $(doublest_h) $(symtab_h)
 frame_h =      frame.h
 gdb_h =                gdb.h
 gdb_string_h =  gdb_string.h
@@ -606,7 +612,7 @@ gdbtypes_h =        gdbtypes.h
 inf_loop_h =   inf-loop.h
 inferior_h =   inferior.h $(breakpoint_h)
 memattr_h =     memattr.h
-parser_defs_h =        parser-defs.h
+parser_defs_h =        parser-defs.h $(doublest_h)
 regcache_h =   regcache.h
 remote_h =     remote.h
 remote_utils_h =  remote-utils.h $(target_h)
@@ -616,7 +622,8 @@ target_h =      target.h $(bfd_h) $(symtab_h) $(dcache_h) $(memattr_h)
 top_h =                top.h
 tracepoint_h = tracepoint.h
 ui_out_h =      ui-out.h
-value_h =      value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
+value_h =      value.h $(symtab_h) $(gdbtypes_h) $(expression_h) $(doublest_h)
+varobj_h =      varobj.h
 version_h =    version.h
 
 # Header files that need to have srcdir added.  Note that in the cases
@@ -652,8 +659,6 @@ INFOFILES = gdb.info*
 
 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
 
-POSSLIBS = gnu-regex.c gnu-regex.h
-
 # {X,T,NAT}DEPFILES are something of a pain in that it's hard to
 # default their values the way we do for SER_HARDWIRE; in the future
 # maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
@@ -667,7 +672,7 @@ SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
 # Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
 # and it's more useful to see it in the .y file.
 TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
-       $(POSSLIBS) $(SUBDIR_CLI_SRCS)
+       $(SUBDIR_CLI_SRCS)
 TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
 
 COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o regcache.o \
@@ -693,7 +698,9 @@ COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o regcache.o \
        c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \
        nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o \
        ui-file.o \
-       frame.o \
+       frame.o doublest.o \
+       ui-file.o \
+       frame.o doublest.o \
        gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o
 
 OBS = $(COMMON_OBS) $(ANNOTATE_OBS)
@@ -771,7 +778,7 @@ uninstall: force $(CONFIG_UNINSTALL)
                  true ; \
                fi ; \
                rm -f $(bindir)/$$transformed_name$(EXEEXT) $(man1dir)/$$transformed_name.1
-       rm -rf $(datadir)/gdbtcl
+       rm -rf $(GDBTK_LIBRARY)
        @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
 
 # We do this by grepping through sources.  If that turns out to be too slow,
@@ -1174,7 +1181,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
        remote-udi.c remote-vx.c remote-vx29k.c \
        rs6000-nat.c rs6000-tdep.c \
        ser-go32.c ser-pipe.c ser-tcp.c \
-       sh-tdep.c solib.c sparc-nat.c \
+       sh-tdep.c solib.c solib-svr4.c solib-sunos.c sparc-nat.c \
        sparc-tdep.c sparcl-tdep.c sun3-nat.c \
        symm-tdep.c symm-nat.c \
        vax-tdep.c \
@@ -1201,8 +1208,8 @@ alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(target_h) \
        $(regcache_h)
 
 alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
-       $(inferior_h) $(symtab_h) $(dis_asm_h) $(gdb_string_h) linespec.h \
-       $(regcache_h)
+       $(inferior_h) $(symtab_h) $(dis-asm.h) $(gdb_string_h) linespec.h \
+       $(regcache_h) $(doublest_h)
 
 annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) $(gdbtypes_h)
 
@@ -1210,10 +1217,10 @@ arm-linux-nat.o: arm-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
        $(gdb_string_h) $(regcache_h)
 
 arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
-       $(gdbtypes_h) $(floatformat_h) $(regcache_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)
+       $(gdbcore_h) $(regcache_h) $(doublest_h)
 
 bcache.o: bcache.c bcache.h $(defs_h)
 
@@ -1237,6 +1244,9 @@ c-typeprint.o: c-typeprint.c c-lang.h $(defs_h) $(expression_h) \
 c-valprint.o: c-valprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \
        language.h $(symtab_h) valprint.h $(value_h) $(cp_abi_h)
 
+doublest.o: doublest.c $(defs_h) $(doublest_h) $(floatformat_h) \
+       gdb_assert.h gdb_string.h
+
 f-lang.o: f-lang.c f-lang.h $(defs_h) $(expression_h) $(gdbtypes_h) \
        language.h $(parser_defs_h) $(symtab_h) $(gdb_string_h)
 
@@ -1358,39 +1368,18 @@ regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(regcache_h)
 fork-child.o: fork-child.c gdb_wait.h $(defs_h) $(gdbcore_h) \
        $(inferior_h) $(target_h) terminal.h $(gdbthread_h) $(gdb_string_h)
 
-# FIXME: cagney/2000-03-27: Post 5.0 this link code can be removed.
-# It should now be possible to run GDBtk from the build directory
-# without the link in place.
-all-gdbtk:
-       @if test ! -d gdbtcl/images ; then \
-         if test "$(LN_S)" = "ln -s" ; then \
-           echo linking ${srcdir}/gdbtk/library to gdbtcl ; \
-           rm -f gdbtcl ; \
-           test ! -r gdbtcl || exit 1 ; \
-           $(LN_S) ${srcdir}/gdbtk/library gdbtcl ; \
-         else \
-           echo "Warning:" ; \
-           echo "Unable to link ${srcdir}/gdbtk/library to gdbtcl." ; \
-           echo "You will need to do a \`make install' before you are" ; \
-           echo "able to run the GUI." ; \
-         fi ; \
-       else true ; fi
-
-clean-gdbtk:
-       rm -f gdbtcl
-
 install-gdbtk:
-       $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl ; \
+       $(SHELL) $(srcdir)/../mkinstalldirs $(GDBTK_LIBRARY) ; \
        $(SHELL) $(srcdir)/../mkinstalldirs \
-               $(datadir)/gdbtcl/images \
-               $(datadir)/gdbtcl/images2 ; \
-       $(SHELL) $(srcdir)/../mkinstalldirs $(datadir)/gdbtcl/help \
-               $(datadir)/gdbtcl/help/images \
-               $(datadir)/gdbtcl/help/trace ; \
+               $(GDBTK_LIBRARY)/images \
+               $(GDBTK_LIBRARY)/images2 ; \
+       $(SHELL) $(srcdir)/../mkinstalldirs $(GDBTK_LIBRARY)/help \
+               $(GDBTK_LIBRARY)/help/images \
+               $(GDBTK_LIBRARY)/help/trace ; \
        cd $(srcdir)/gdbtk/library ; \
        for i in *.tcl *.itcl *.ith *.itb images/*.gif images2/*.gif images/icons.txt images2/icons.txt tclIndex help/*.html  help/trace/*.html help/trace/index.toc help/images/*.gif; \
          do \
-               $(INSTALL_DATA) $$i $(datadir)/gdbtcl/$$i ; \
+               $(INSTALL_DATA) $$i $(GDBTK_LIBRARY)/$$i ; \
          done ;
 
 gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico
@@ -1404,7 +1393,8 @@ gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
         $(ITK_CFLAGS) $(TIX_CFLAGS) \
        $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
-               $(srcdir)/gdbtk/generic/gdbtk.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+               $(srcdir)/gdbtk/generic/gdbtk.c \
+               -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(GDBTK_SRC_DIR)\"
 
 gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
        $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
@@ -1412,7 +1402,7 @@ gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
        $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
        $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-bp.c \
-       -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
 
 gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
        $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
@@ -1422,7 +1412,7 @@ gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS)        \
        $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)          \
        $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-cmds.c            \
-       -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
 
 gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \
        $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
@@ -1430,7 +1420,7 @@ gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \
        $(bfd_h) $(symfile_h) objfiles.h $(target_h) $(gdb_string_h) $(tracepoint_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
        $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
-               $(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+               $(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
 
 gdbtk-register.o: $(srcdir)/gdbtk/generic/gdbtk-register.c \
        $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
@@ -1438,7 +1428,7 @@ gdbtk-register.o: $(srcdir)/gdbtk/generic/gdbtk-register.c \
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
        $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
        $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-register.c \
-       -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
 
 gdbtk-stack.o: $(srcdir)/gdbtk/generic/gdbtk-stack.c \
        $(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
@@ -1448,11 +1438,11 @@ gdbtk-stack.o: $(srcdir)/gdbtk/generic/gdbtk-stack.c \
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
        $(TIX_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS)   \
        $(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-stack.c \
-       -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+       -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
 
 gdbtk-varobj.o: $(srcdir)/gdbtk/generic/gdbtk-varobj.c \
        $(srcdir)/gdbtk/generic/gdbtk.h \
-       $(defs_h) $(value_h) varobj.h
+       $(defs_h) $(value_h) $(varobj_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
        $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
                $(srcdir)/gdbtk/generic/gdbtk-varobj.c
@@ -1481,7 +1471,7 @@ tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \
 gdbarch.o: gdbarch.c $(defs_h) $(bfd_h) $(gdbcmd_h)
 
 arch-utils.o: arch-utils.c $(defs_h) $(bfd_h) $(gdbcmd_h) \
-       $(arch_utils_h)
+       $(arch_utils_h) gdb_assert.h
 
 gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
        $(gdbtypes_h) language.h objfiles.h $(symfile_h) $(symtab_h) $(target_h) \
@@ -1522,7 +1512,8 @@ 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)
+       $(symtab_h) $(gdbcmd_h) $(command_h) $(arch_utils_h) $(regcache_h) \
+       $(doublest_h)
 
 i386-nat.o: i386-nat.c $(defs_h) $(breakpoint_h) $(command_h) $(gdbcmd_h)
 
@@ -1561,7 +1552,7 @@ i386-linux-tdep.o: i386-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
 i386v4-nat.o: i386v4-nat.c $(defs_h) $(regcache_h)
 
 i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
-       $(inferior_h) language.h $(regcache_h)
+       $(inferior_h) language.h $(regcache_h) $(doublest_h) i386-tdep.h
 
 i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
        $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(gdbcore_h) \
@@ -1574,7 +1565,7 @@ 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 \
-       $(INCLUDE_DIR)/elf/common.h $(regcache_h)
+       $(INCLUDE_DIR)/elf/common.h $(regcache_h) $(doublest_h)
 
 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
        $(inferior_h) $(target_h) language.h $(symfile_h) $(gdb_string_h) \
@@ -1596,8 +1587,8 @@ inftarg.o: inftarg.c gdb_wait.h $(defs_h) $(gdbcore_h) $(inferior_h) \
 
 irix4-nat.o: irix4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(regcache_h)
 irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
-       $(symtab_h) $(symfile_h) objfiles.h $(command_h) $(frame_h) gnu-regex.h \
-       language.h $(gdb_string_h) $(regcache_h)
+       $(symtab_h) $(symfile_h) objfiles.h $(command_h) $(frame_h) \
+       gdb_regex.h language.h $(gdb_string_h) $(regcache_h)
 
 # OBSOLETE isi-xdep.o: isi-xdep.c
 
@@ -1704,7 +1695,7 @@ mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
 
 mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
        $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \
-       objfiles.h partial-stab.h stabsread.h $(symfile_h) $(symtab_h) \
+       objfiles.h stabsread.h $(symfile_h) $(symtab_h) \
        $(gdb_string_h)
 
 mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(target_h) \
@@ -1771,7 +1762,7 @@ hp-symtab-read.o: hp-symtab-read.c hpread.h $(bfd_h) buildsym.h complaints.h \
 
 parse.o: parse.c $(command_h) $(defs_h) $(expression_h) $(frame_h) \
        $(gdbtypes_h) language.h $(parser_defs_h) $(symtab_h) $(value_h) \
-       $(gdb_string_h) linespec.h
+       $(gdb_string_h) linespec.h $(doublest_h)
 
 ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) \
        $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
@@ -1821,8 +1812,6 @@ lin-lwp.o: lin-lwp.c $(defs_h) gdb_assert.h gdb_wait.h $(gdbthread_h) \
 proc-service.o: proc-service.c $(defs_h) $(inferior_h) gdb_proc_service.h \
        $(symtab_h) $(target_h) gregset.h
 
-gnu-regex.o: gnu-regex.c gnu-regex.h $(defs_h) $(gdb_string_h)
-
 remote-adapt.o: remote-adapt.c $(defs_h) $(gdbcore_h) \
        $(inferior_h) $(target_h) terminal.h $(gdb_string_h) $(regcache_h)
 
@@ -1923,7 +1912,8 @@ remote-nrom.o: remote-nrom.c $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \
        $(inferior_h) $(remote_utils_h) $(symfile_h) terminal.h
 
 rom68k-rom.o: rom68k-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) \
-       $(gdbcmd_h) $(inferior_h) $(target_h) serial.h terminal.h $(regcache_h)
+       $(gdbcmd_h) $(inferior_h) $(target_h) serial.h terminal.h \
+       $(regcache_h) $(value_h)
 
 rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \
        $(gdbcore_h) xcoffsolib.h $(symfile_h) objfiles.h gdb-stabs.h \
@@ -1956,7 +1946,7 @@ serial.o: serial.c $(defs_h) serial.h $(gdb_string_h)
 sh-tdep.o: sh-tdep.c $(bfd_h) $(dis_asm_h) \
        $(srcdir)/../opcodes/sh-opc.h $(defs_h) $(expression_h) $(frame_h) \
        $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(arch_utils_h) \
-       $(regcache_h)
+       $(regcache_h) $(doublest_h)
 
 sh3-rom.o: sh3-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \
        $(inferior_h) $(target_h) serial.h terminal.h $(arch_utils_h) \
@@ -1968,18 +1958,21 @@ mon960-rom.o: mon960-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \
        $(inferior_h) $(target_h) serial.h terminal.h
 
 solib.o: solib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
-       objfiles.h gnu-regex.h $(symfile_h) $(target_h) $(gdb_string_h) solist.h \
-       $(completer_h)
+       objfiles.h gdb_regex.h $(symfile_h) $(target_h) $(gdb_string_h) \
+       solist.h $(completer_h)
 
-solib-svr4.o: solib-svr4.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \
-       objfiles.h gnu-regex.h $(symfile_h) $(target_h) $(gdb_string_h) solist.h \
-       solib-svr4.h $(regcache_h)
+solib-sunos.o: solib-sunos.c $(defs_h) $(symfile_h) objfiles.h $(gdbcore_h) \
+       $(inferior_h) solist.h
+
+solib-svr4.o: solib-svr4.c $(defs_h) $(gdbcore_h) $(inferior_h) objfiles.h \
+       $(symfile_h) $(target_h) solist.h solib-svr4.h
 
 solib-legacy.o: solib-legacy.c $(defs_h) $(gdbcore_h) solib-svr4.h
 
 source.o: source.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
-       $(gdbcore_h) language.h objfiles.h gnu-regex.h $(symfile_h) $(symtab_h) \
-       $(gdb_string_h) source.h $(completer_h) linespec.h $(ui_out_h)
+       $(gdbcore_h) language.h objfiles.h gdb_regex.h $(symfile_h) \
+       $(symtab_h) $(gdb_string_h) source.h $(completer_h) linespec.h \
+       $(ui_out_h)
 
 sparc-nat.o: sparc-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(gdbcore_h) \
        $(target_h) $(regcache_h)
@@ -1995,7 +1988,7 @@ dsrec.o: dsrec.c $(defs_h) srec.h
 stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
        $(INCLUDE_DIR)/aout/stab_gnu.h buildsym.h complaints.h $(defs_h) \
        $(gdbtypes_h) objfiles.h stabsread.h $(symfile_h) $(symtab_h) \
-       $(gdb_string_h)
+       $(gdb_string_h) $(doublest_h)
 
 stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
        language.h $(target_h) $(gdb_string_h) $(ui_out_h)
@@ -2028,7 +2021,7 @@ symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
 
 symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \
        $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \
-       gnu-regex.h $(symfile_h) $(symtab_h) $(target_h) $(value_h) \
+       gdb_regex.h $(symfile_h) $(symtab_h) $(target_h) $(value_h) \
        $(gdb_string_h) linespec.h $(cp_abi_h)
 
 linespec.o: linespec.c linespec.h $(defs_h) $(frame_h) $(value_h) \
@@ -2050,7 +2043,7 @@ top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
        $(cli_cmds_h) $(cli_script_h) $(cli_setshow_h) \
        $(defs_h) $(gdbcmd_h) $(inferior_h) language.h \
        $(remote_utils_h) $(gdb_string_h) $(event_loop_h) $(event_top_h) \
-       $(completer_h) $(version_h) $(ui_out_h) \
+       $(completer_h) $(version_h) $(ui_out_h) $(doublest_h) \
        serial.h
 
 typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
@@ -2069,23 +2062,32 @@ utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
 
 valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
        $(gdbtypes_h) language.h $(symtab_h) $(target_h) $(value_h) \
-       $(gdb_string_h)
+       $(gdb_string_h) $(doublest_h)
 
 valops.o: valops.c $(defs_h) $(gdbcore_h) $(inferior_h) $(target_h) \
        $(gdb_string_h) $(regcache_h) $(cp_abi_h)
 
 valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
        $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) $(target_h) \
-       $(value_h) $(gdb_string_h) valprint.h
+       $(value_h) $(gdb_string_h) valprint.h $(doublest_h)
 
 values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
        $(gdbcore_h) $(gdbtypes_h) $(symtab_h) $(target_h) $(value_h) \
-       $(gdb_string_h) scm-lang.h
+       $(gdb_string_h) scm-lang.h $(doublest_h)
 
 vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h)
 
 w65-tdep.o : w65-tdep.c $(gdbcore_h) $(regcache_h)
 
+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
+
+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
+
 win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
        $(gdb_string_h) $(regcache_h) $(completer_h)
 
@@ -2105,10 +2107,10 @@ xcoffread.o: xcoffread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \
        $(INCLUDE_DIR)/aout/stab_gnu.h $(INCLUDE_DIR)/coff/internal.h \
        $(INCLUDE_DIR)/coff/rs6000.h $(BFD_SRC)/libcoff.h buildsym.h \
        complaints.h $(defs_h) $(gdbtypes_h) objfiles.h stabsread.h $(symfile_h) \
-       $(symtab_h) partial-stab.h $(gdb_string_h)
+       $(symtab_h) $(gdb_string_h)
 
 xcoffsolib.o: xcoffsolib.c $(bfd_h) $(defs_h) xcoffsolib.h $(inferior_h) \
-       $(gdbcmd_h) $(symfile_h) $(frame_h) gnu-regex.h
+       $(gdbcmd_h) $(symfile_h) $(frame_h) gdb_regex.h
 
 # FIXME: z8k-tdep.c calls _initialize_gdbtypes().  Since that isn't
 # declared -Wimplicit fails. It should be using the GDBARCH framework.
@@ -2155,12 +2157,12 @@ wrapper.o: wrapper.c $(defs_h) $(frame_h) $(value_h) wrapper.h
 
 cli-decode.o: $(srcdir)/cli/cli-decode.c $(cli_decode_h) \
                $(cli_cmds_h) $(defs_h) $(ui_out_h) \
-               $(symtab_h) gnu-regex.h
+               $(symtab_h) gdb_regex.h
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c
 
 cli-cmds.o: $(srcdir)/cli/cli-cmds.c  $(cli_cmds_h) $(cli_decode_h) \
-               $(cli_script_h) $(cli_setshow_h) top.h $(completer_h) $(defs_h) \
-               $(target_h) gdb_wait.h gnu-regex.h $(ui_out_h)
+               $(cli_script_h) $(cli_setshow_h) top.h $(completer_h) \
+                $(defs_h) $(target_h) gdb_wait.h gdb_regex.h $(ui_out_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c
 
 cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(cli_setshow_h) \
@@ -2191,7 +2193,7 @@ mi_console_h =    $(srcdir)/mi/mi-console.h
 mi-cmds.o: $(srcdir)/mi/mi-cmds.c $(defs_h) $(top_h) $(mi_cmds_h) $(ui_out_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmds.c
 mi-cmd-var.o: $(srcdir)/mi/mi-cmd-var.c $(defs_h) $(top_h) $(mi_cmds_h) \
-               $(ui_out_h)
+               $(ui_out_h) $(varobj_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-var.c
 mi-cmd-stack.o: $(srcdir)/mi/mi-cmd-stack.c $(defs_h) $(top_h) $(mi_cmds_h) \
                $(ui_out_h) $(frame_h) $(value_h) $(target_h)