2004-02-28 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 5883f80bf6d3d27986fe10786202227208ca2f5b..83a4484f331fd66ae9802eee8bb465de9180aaea 100644 (file)
@@ -8,12 +8,12 @@
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -78,7 +78,7 @@ VPATH = @srcdir@
 
 YACC=@YACC@
 
-# This is used to rebuild ada-lex.c from ada-lex.l.  If the program is 
+# This is used to rebuild ada-lex.c from ada-lex.l.  If the program is
 # not defined, but ada-lex.c is present, compilation will continue,
 # possibly with a warning.
 FLEX = flex
@@ -152,14 +152,8 @@ SUBDIR_CLI_SRCS = \
        cli/cli-interp.c \
        cli/cli-utils.c
 SUBDIR_CLI_DEPS =
-SUBDIR_CLI_INITS = \
-       $(SUBDIR_CLI_SRCS)
 SUBDIR_CLI_LDFLAGS=
 SUBDIR_CLI_CFLAGS=
-SUBDIR_CLI_ALL=
-SUBDIR_CLI_CLEAN=
-SUBDIR_CLI_INSTALL=
-SUBDIR_CLI_UNINSTALL=
 
 #
 # MI sub directory definitons
@@ -178,19 +172,17 @@ SUBDIR_MI_SRCS = \
        mi/mi-interp.c \
        mi/mi-main.c mi/mi-parse.c mi/mi-getopt.c
 SUBDIR_MI_DEPS =
-SUBDIR_MI_INITS = \
-       $(SUBDIR_MI_SRCS)
 SUBDIR_MI_LDFLAGS=
 SUBDIR_MI_CFLAGS= \
        -DMI_OUT=1
-SUBDIR_MI_ALL=
-SUBDIR_MI_CLEAN=
-SUBDIR_MI_INSTALL=
-SUBDIR_MI_UNINSTALL=
 
 #
 # TUI sub directory definitions
 #
+
+# Name of the TUI program
+TUI=gdbtui
+
 SUBDIR_TUI_OBS = \
        tui-command.o \
        tui-data.o \
@@ -227,16 +219,9 @@ SUBDIR_TUI_SRCS = \
        tui/tui-winsource.c \
        tui/tui.c
 SUBDIR_TUI_DEPS =
-SUBDIR_TUI_INITS = \
-       $(SUBDIR_TUI_SRCS)
 SUBDIR_TUI_LDFLAGS=
 SUBDIR_TUI_CFLAGS= \
-       -DTUI=1 -I${srcdir}/tui
-SUBDIR_TUI_ALL=
-SUBDIR_TUI_CLEAN=
-SUBDIR_TUI_INSTALL=
-SUBDIR_TUI_UNINSTALL=
-
+       -DTUI=1
 
 
 # Opcodes currently live in one of two places.  Either they are in the
@@ -304,25 +289,19 @@ SUBDIR_GDBTK_OBS = \
        gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o
 SUBDIR_GDBTK_SRCS = \
        gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-bp.c \
-       gdbtk/generic/gdbtk-cmds.c gdbtk/generic/gdbtk-hooks.c gdbtk-interp.c \
+       gdbtk/generic/gdbtk-cmds.c gdbtk/generic/gdbtk-hooks.c \
+       gdbtk/generic/gdbtk-interp.c \
        gdbtk/generic/gdbtk-register.c gdbtk/generic/gdbtk-stack.c \
        gdbtk/generic/gdbtk-varobj.c gdbtk/generic/gdbtk-wrapper.c \
        gdbtk/generic/gdbtk-main.c
 SUBDIR_GDBTK_DEPS = \
        $(LIBGUI) $(ITCL_DEPS) $(ITK_DEPS) $(TK_DEPS) $(TCL_DEPS)
-SUBDIR_GDBTK_INITS = gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-interp.c
 SUBDIR_GDBTK_LDFLAGS=
 SUBDIR_GDBTK_CFLAGS= -DGDBTK
-SUBDIR_GDBTK_ALL= all-gdbtk
-SUBDIR_GDBTK_CLEAN= clean-gdbtk
-SUBDIR_GDBTK_INSTALL= install-gdbtk
-SUBDIR_GDBTK_UNINSTALL= uninstall-gdbtk
 
 CONFIG_OBS= @CONFIG_OBS@
-CONFIG_LIB_OBS= @CONFIG_LIB_OBS@
 CONFIG_SRCS= @CONFIG_SRCS@
 CONFIG_DEPS= @CONFIG_DEPS@
-CONFIG_INITS= @CONFIG_INITS@
 CONFIG_LDFLAGS = @CONFIG_LDFLAGS@
 ENABLE_CFLAGS= @ENABLE_CFLAGS@
 CONFIG_ALL= @CONFIG_ALL@
@@ -424,15 +403,13 @@ REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o
 # This is remote-sim.o if a simulator is to be linked in.
 SIM_OBS =
 
-ANNOTATE_OBS = annotate.o
-
 # Host and target-dependent makefile fragments come in here.
 @host_makefile_frag@
 @target_makefile_frag@
 # End of host and target-dependent makefile fragments
 
-# Possibly ignore the simulator.  If the simulator is being ignored, 
-# these expand into SIM= and SIM_OBJ=, overriding the entries from 
+# Possibly ignore the simulator.  If the simulator is being ignored,
+# these expand into SIM= and SIM_OBJ=, overriding the entries from
 # target_makefile_frag
 #
 @IGNORE_SIM@
@@ -565,14 +542,6 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
        target.c thread.c top.c tracepoint.c \
        trad-frame.c \
        typeprint.c \
-       tui/tui.c tui/tui.h tui/tuiCommand.c tui/tuiCommand.h \
-       tui/tuiData.c tui/tuiData.h tui/tuiDataWin.c tui/tuiDataWin.h \
-       tui/tuiDisassem.c tui/tuiDisassem.h tui/tuiGeneralWin.c \
-       tui/tuiGeneralWin.h tui/tuiIO.c tui/tuiIO.h tui/tuiLayout.c \
-       tui/tuiLayout.h tui/tuiRegs.c tui/tuiRegs.h tui/tuiSource.c \
-       tui/tuiSource.h tui/tuiSourceWin.c tui/tuiSourceWin.h \
-       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-out.c utils.c ui-file.h ui-file.c \
        user-regs.c \
        valarith.c valops.c valprint.c values.c varobj.c \
@@ -582,7 +551,7 @@ LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
 
 # "system" headers.  Using these in dependencies is a rather personal
 # choice. (-rich, summer 1993)
-# (Why would we not want to depend on them?  If one of these changes in a 
+# (Why would we not want to depend on them?  If one of these changes in a
 # non-binary-compatible way, it is a real pain to remake the right stuff
 # without these dependencies -kingdon, 13 Mar 1994)
 aout_aout64_h =        $(INCLUDE_DIR)/aout/aout64.h
@@ -607,6 +576,8 @@ demangle_h =    $(INCLUDE_DIR)/demangle.h
 obstack_h =     $(INCLUDE_DIR)/obstack.h
 opcode_m68hc11_h = $(INCLUDE_DIR)/opcode/m68hc11.h
 readline_h =   $(READLINE_SRC)/readline.h
+readline_tilde_h =     $(READLINE_SRC)/tilde.h
+readline_history_h =   $(READLINE_SRC)/history.h
 frv_desc_h =   $(OPCODES_SRC)/frv-desc.h
 sh_opc_h =     $(OPCODES_SRC)/sh-opc.h
 gdb_sim_arm_h =        $(INCLUDE_DIR)/gdb/sim-arm.h
@@ -615,12 +586,6 @@ gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h
 gdb_sim_sh_h = $(INCLUDE_DIR)/gdb/sim-sh.h
 splay_tree_h =  $(INCLUDE_DIR)/splay-tree.h
 
-readline_headers = \
-       $(READLINE_SRC)/chardefs.h \
-       $(READLINE_SRC)/history.h \
-       $(READLINE_SRC)/keymaps.h \
-       $(READLINE_SRC)/readline.h
-
 #
 # $BUILD/ headers
 #
@@ -648,10 +613,13 @@ nm_h =            @nm_h@
 ada_lang_h = ada-lang.h $(value_h) $(gdbtypes_h)
 alphabsd_tdep_h = alphabsd-tdep.h
 alpha_tdep_h = alpha-tdep.h
+amd64_linux_tdep_h = amd64-linux-tdep.h
 amd64_nat_h = amd64-nat.h
+amd64_tdep_h = amd64-tdep.h $(i386_tdep_h)
 annotate_h = annotate.h $(symtab_h) $(gdbtypes_h)
 arch_utils_h = arch-utils.h
 arm_tdep_h = arm-tdep.h
+auxv_h = auxv.h
 ax_gdb_h = ax-gdb.h
 ax_h = ax.h $(doublest_h)
 bcache_h = bcache.h
@@ -672,8 +640,8 @@ cp_abi_h = cp-abi.h
 cp_support_h = cp-support.h $(symtab_h)
 dcache_h = dcache.h
 defs_h = defs.h $(config_h) $(ansidecl_h) $(gdb_locale_h) $(gdb_signals_h) \
-       $(libiberty_h) $(progress_h) $(bfd_h) $(tui_h) $(ui_file_h) $(xm_h) \
-       $(nm_h) $(tm_h) $(fopen_same_h) $(gdbarch_h)
+       $(libiberty_h) $(bfd_h) $(ui_file_h) $(xm_h) $(nm_h) $(tm_h) \
+       $(fopen_same_h) $(gdbarch_h)
 dictionary_h = dictionary.h
 disasm_h = disasm.h
 doublest_h = doublest.h $(floatformat_h)
@@ -694,6 +662,7 @@ gdbarch_h = gdbarch.h
 gdb_assert_h = gdb_assert.h
 gdbcmd_h = gdbcmd.h $(command_h) $(ui_out_h)
 gdbcore_h = gdbcore.h $(bfd_h)
+gdb_curses_h = gdb_curses.h
 gdb_dirent_h = gdb_dirent.h
 gdb_events_h = gdb-events.h
 gdb_h = gdb.h
@@ -716,6 +685,7 @@ hppa_tdep_h = hppa-tdep.h
 i386_linux_tdep_h = i386-linux-tdep.h
 i386_tdep_h = i386-tdep.h
 i387_tdep_h = i387-tdep.h
+ia64_tdep_h = ia64-tdep.h
 infcall_h = infcall.h
 inferior_h = inferior.h $(breakpoint_h) $(target_h) $(frame_h)
 inf_loop_h = inf-loop.h
@@ -759,6 +729,7 @@ regset_h = regset.h
 remote_fileio_h = remote-fileio.h
 remote_h = remote.h
 remote_utils_h = remote-utils.h $(target_h)
+s390_tdep_h = s390-tdep.h
 scm_lang_h = scm-lang.h $(scm_tags_h)
 scm_tags_h = scm-tags.h
 sentinel_frame_h = sentinel-frame.h
@@ -797,8 +768,6 @@ vax_tdep_h = vax-tdep.h
 version_h = version.h
 wince_stub_h = wince-stub.h
 wrapper_h = wrapper.h $(gdb_h)
-x86_64_linux_tdep_h = x86-64-linux-tdep.h
-x86_64_tdep_h = x86-64-tdep.h $(i386_tdep_h)
 xcoffsolib_h = xcoffsolib.h
 xmodem_h = xmodem.h
 
@@ -829,19 +798,20 @@ mi_parse_h = $(srcdir)/mi/mi-parse.h
 #
 
 tui_command_h = $(srcdir)/tui/tui-command.h
-tui_data_h = $(srcdir)/tui/tui-data.h
-tui_disasm_h = $(srcdir)/tui/tui-disasm.h
+tui_data_h = $(srcdir)/tui/tui-data.h $(tui_h) $(gdb_curses_h)
+tui_disasm_h = $(srcdir)/tui/tui-disasm.h $(tui_h) $(tui_data_h)
 tui_file_h = $(srcdir)/tui/tui-file.h
-tui_h = $(srcdir)/tui/tui.h $(ansidecl_h)
+tui_h = $(srcdir)/tui/tui.h
+tui_hooks_h = $(srcdir)/tui/tui-hooks.h
 tui_io_h = $(srcdir)/tui/tui-io.h
-tui_layout_h = $(srcdir)/tui/tui-layout.h
-tui_regs_h = $(srcdir)/tui/tui-regs.h
-tui_source_h = $(srcdir)/tui/tui-source.h $(defs_h)
+tui_layout_h = $(srcdir)/tui/tui-layout.h $(tui_h) $(tui_data_h)
+tui_regs_h = $(srcdir)/tui/tui-regs.h $(tui_data_h)
+tui_source_h = $(srcdir)/tui/tui-source.h $(tui_data_h)
 tui_stack_h = $(srcdir)/tui/tui-stack.h
-tui_windata_h = $(srcdir)/tui/tui-windata.h
+tui_windata_h = $(srcdir)/tui/tui-windata.h $(tui_data_h)
 tui_wingeneral_h = $(srcdir)/tui/tui-wingeneral.h
-tui_win_h = $(srcdir)/tui/tui-win.h
-tui_winsource_h = $(srcdir)/tui/tui-winsource.h
+tui_win_h = $(srcdir)/tui/tui-win.h $(tui_data_h)
+tui_winsource_h = $(srcdir)/tui/tui-winsource.h $(tui_data_h)
 
 # Header files that need to have srcdir added.  Note that in the cases
 # where we use a macro like $(gdbcmd_h), things are carefully arranged
@@ -881,16 +851,19 @@ REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
 # Makefile.in
 
 DEPFILES = $(TDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
-          $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_LIB_OBS)
+          $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS)
 
 SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
-# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
+# Don't include YYFILES (*.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) \
        $(SUBDIR_CLI_SRCS)
 TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
 
-COMMON_OBS = version.o \
+COMMON_OBS = $(DEPFILES) $(YYOBJ) \
+       version.o \
+       annotate.o \
+       auxv.o \
        bfd-target.o \
        blockframe.o breakpoint.o findvar.o regcache.o \
        charset.o disasm.o dummy-frame.o \
@@ -900,10 +873,11 @@ COMMON_OBS = version.o \
        infcmd.o infrun.o \
        expprint.o environ.o stack.o thread.o \
        interps.o \
+       main.o \
        macrotab.o macrocmd.o macroexp.o macroscope.o \
        event-loop.o event-top.o inf-loop.o completer.o \
-       gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o $(DEPFILES) \
-       memattr.o mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
+       gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o \
+       memattr.o mem-break.o target.o parse.o language.o buildsym.o \
        std-regs.o \
        signals.o \
        kod.o kod-cisco.o \
@@ -932,22 +906,20 @@ COMMON_OBS = version.o \
        reggroups.o \
        trad-frame.o
 
-OBS = $(COMMON_OBS) $(ANNOTATE_OBS)
-
 TSOBS = inflow.o
 
 SUBDIRS = @subdirs@
 
 # For now, shortcut the "configure GDB for fewer languages" stuff.
-YYFILES = c-exp.tab.c \
-       objc-exp.tab.c \
-       ada-exp.tab.c \
-       jv-exp.tab.c \
-       f-exp.tab.c m2-exp.tab.c p-exp.tab.c
-YYOBJ = c-exp.tab.o \
-       objc-exp.tab.o \
-       jv-exp.tab.o \
-       f-exp.tab.o m2-exp.tab.o p-exp.tab.o
+YYFILES = c-exp.c \
+       objc-exp.c \
+       ada-exp.c \
+       jv-exp.c \
+       f-exp.c m2-exp.c p-exp.c
+YYOBJ = c-exp.o \
+       objc-exp.o \
+       jv-exp.o \
+       f-exp.o m2-exp.o p-exp.o
 
 # Things which need to be built when making a distribution.
 
@@ -960,6 +932,8 @@ DISTSTUFF = $(YYFILES)
 
 all: gdb$(EXEEXT) $(CONFIG_ALL)
        @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
+.PHONY: all-tui
+all-tui: $(TUI)$(EXEEXT)
 
 installcheck:
 
@@ -977,12 +951,12 @@ info dvi install-info clean-info html install-html: force
        @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
 
 gdb.z:gdb.1
-       nroff -man $(srcdir)/gdb.1 | col -b > gdb.t 
+       nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
        pack gdb.t ; rm -f gdb.t
        mv gdb.t.z gdb.z
 
 # Traditionally "install" depends on "all".  But it may be useful
-# not to; for example, if the user has made some trivial change to a 
+# not to; for example, if the user has made some trivial change to a
 # source file and doesn't care about rebuilding or just wants to save the
 # time it takes for make to check that all is up to date.
 # install-only is intended to address that need.
@@ -1002,7 +976,24 @@ install-only: $(CONFIG_INSTALL)
                        $(DESTDIR)$(man1dir) ; \
                $(INSTALL_DATA) $(srcdir)/gdb.1 \
                        $(DESTDIR)$(man1dir)/$$transformed_name.1
-       @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
+       @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
+.PHONY: install-tui
+install-tui:
+       transformed_name=`t='$(program_transform_name)'; \
+                         echo $(TUI) | sed -e "$$t"` ; \
+               if test "x$$transformed_name" = x; then \
+                 transformed_name=$(TUI) ; \
+               else \
+                 true ; \
+               fi ; \
+               $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
+               $(INSTALL_PROGRAM) $(TUI)$(EXEEXT) \
+                       $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
+               $(SHELL) $(srcdir)/../mkinstalldirs \
+                       $(DESTDIR)$(man1dir) ; \
+               $(INSTALL_DATA) $(srcdir)/gdb.1 \
+                       $(DESTDIR)$(man1dir)/$$transformed_name.1
+
 
 uninstall: force $(CONFIG_UNINSTALL)
        transformed_name=`t='$(program_transform_name)'; \
@@ -1014,7 +1005,18 @@ uninstall: force $(CONFIG_UNINSTALL)
                fi ; \
                rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
                      $(DESTDIR)$(man1dir)/$$transformed_name.1
-       @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
+       @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
+.PHONY: uninstall-tui
+uninstall-tui:
+       transformed_name=`t='$(program_transform_name)'; \
+                         echo $(TUI) | sed -e $$t` ; \
+               if test "x$$transformed_name" = x; then \
+                 transformed_name=$(TUI) ; \
+               else \
+                 true ; \
+               fi ; \
+               rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
+                     $(DESTDIR)$(man1dir)/$$transformed_name.1
 
 # We do this by grepping through sources.  If that turns out to be too slow,
 # maybe we could just require every .o file to have an initialization routine
@@ -1026,21 +1028,21 @@ uninstall: force $(CONFIG_UNINSTALL)
 # Note that the set of files with init functions might change, or the names
 # of the functions might change, so this files needs to depend on all the
 # object files that will be linked into gdb.
-#
-# FIXME: There are 2 problems with this approach. First, if the INIT_FILES
-# list includes a file twice (because of some mistake somewhere else) 
-# the _initialize_* function will be included twice in init.c. Second, 
-# init.c may force unnecessary files to be linked in.
+
+# FIXME: There is a problem with this approach - init.c may force
+# unnecessary files to be linked in.
 
 # FIXME: cagney/2002-06-09: gdb/564: gdb/563: Force the order so that
-# the first call is to _initialize_gdbtypes.  This is a hack to ensure
-# that all the architecture dependant global builtin_type_* variables
-# are initialized before anything else (per-architecture code is
-# called in the same order that it is registered).  The ``correct
-# fix'' is to have all the builtin types made part of the architecture
-# and initialize them on-demand (using gdbarch_data) just like
-# everything else.  The catch is that other modules still take the
-# address of these builtin types forcing them to be variables, sigh!
+# the first call is to _initialize_gdbtypes (implemented by explicitly
+# putting that function's name first in the init.l-tmp file).  This is
+# a hack to ensure that all the architecture dependant global
+# builtin_type_* variables are initialized before anything else
+# (per-architecture code is called in the same order that it is
+# registered).  The ``correct fix'' is to have all the builtin types
+# made part of the architecture and initialize them on-demand (using
+# gdbarch_data) just like everything else.  The catch is that other
+# modules still take the address of these builtin types forcing them
+# to be variables, sigh!
 
 # NOTE: cagney/2003-03-18: The sed pattern ``s|^\([^ /]...'' is
 # anchored on the first column and excludes the ``/'' character so
@@ -1049,38 +1051,51 @@ uninstall: force $(CONFIG_UNINSTALL)
 # automatically adds the $(srcdir) prefixes when it encounters files
 # in sub-directories such as cli/ and mi/.
 
-INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_OBS) $(CONFIG_INITS)
+# NOTE: cagney/2004-02-08: The ``case "$$fs" in'' eliminates
+# duplicates.  Files in the gdb/ directory can end up appearing in
+# COMMON_OBS (as a .o file) and CONFIG_SRCS (as a .c file).
+
+INIT_FILES = $(COMMON_OBS) $(TSOBS) $(CONFIG_SRCS)
 init.c: $(INIT_FILES)
        @echo Making init.c
        @rm -f init.c-tmp init.l-tmp
+       @touch init.c-tmp
+       @echo gdbtypes > init.l-tmp
        @-echo $(INIT_FILES) | \
        tr ' ' '\012' | \
        sed \
-           -e '/^init.o/d' \
-           -e '/xdr_ld.o/d' \
-           -e '/xdr_ptrace.o/d' \
-           -e '/xdr_rdb.o/d' \
-           -e '/udr.o/d' \
-           -e '/udip2soc.o/d' \
-           -e '/udi2go32.o/d' \
-           -e '/version.o/d' \
-           -e '/^[a-z0-9A-Z_]*_[SU].o/d' \
-           -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
-           -e 's/\.o/.c/' \
+           -e '/^gdbtypes.[co]$$/d' \
+           -e '/^init.[co]$$/d' \
+           -e '/xdr_ld.[co]$$/d' \
+           -e '/xdr_ptrace.[co]$$/d' \
+           -e '/xdr_rdb.[co]$$/d' \
+           -e '/udr.[co]$$/d' \
+           -e '/udip2soc.[co]$$/d' \
+           -e '/udi2go32.[co]$$/d' \
+           -e '/version.[co]$$/d' \
+           -e '/^[a-z0-9A-Z_]*_[SU].[co]$$/d' \
+           -e '/[a-z0-9A-Z_]*-exp.tab.[co]$$/d' \
+           -e 's/\.[co]$$/.c/' \
            -e 's,signals\.c,signals/signals\.c,' \
            -e 's|^\([^  /][^     ]*\)|$(srcdir)/\1|g' | \
-       while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \
-       sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/\1/' | \
-       ( echo _initialize_gdbtypes ; grep -v '^_initialize_gdbtypes$$' ) > init.l-tmp
+       while read f; do \
+           sed -n -e 's/^_initialize_\([a-z_0-9A-Z]*\).*/\1/p' $$f 2>/dev/null; \
+       done | \
+       while read f; do \
+           case " $$fs " in \
+               *" $$f "* ) ;; \
+               * ) echo $$f ; fs="$$fs $$f";; \
+            esac; \
+       done >> init.l-tmp
        @echo '/* Do not modify this file.  */' >>init.c-tmp
        @echo '/* It is created automatically by the Makefile.  */'>>init.c-tmp
-       @echo '#include "defs.h"' >>init.c-tmp
-       @echo '#include "call-cmds.h"' >>init.c-tmp
-       @sed -e 's/\(.*\)/extern initialize_file_ftype \1;/' <init.l-tmp >>init.c-tmp
+       @echo '#include "defs.h"      /* For initialize_file_ftype.  */' >>init.c-tmp
+       @echo '#include "call-cmds.h" /* For initialize_all_files.  */' >>init.c-tmp
+       @sed -e 's/\(.*\)/extern initialize_file_ftype _initialize_\1;/' <init.l-tmp >>init.c-tmp
        @echo 'void' >>init.c-tmp
        @echo 'initialize_all_files (void)' >>init.c-tmp
        @echo '{' >>init.c-tmp
-       @sed -e 's/\(.*\)/  \1 ();/' <init.l-tmp >>init.c-tmp
+       @sed -e 's/\(.*\)/  _initialize_\1 ();/' <init.l-tmp >>init.c-tmp
        @echo '}' >>init.c-tmp
        @rm init.l-tmp
        @mv init.c-tmp init.c
@@ -1090,10 +1105,16 @@ init.c: $(INIT_FILES)
 init.o: init.c $(defs_h) $(call_cmds_h)
 
 # Removing the old gdb first works better if it is running, at least on SunOS.
-gdb$(EXEEXT): gdb.o main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
+gdb$(EXEEXT): gdb.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
        rm -f gdb$(EXEEXT)
        $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
-               -o gdb$(EXEEXT) gdb.o main.o $(CONFIG_OBS) libgdb.a \
+               -o gdb$(EXEEXT) gdb.o libgdb.a \
+               $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
+
+$(TUI)$(EXEEXT): tui-main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
+       rm -f $(TUI)$(EXEEXT)
+       $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
+               -o $(TUI)$(EXEEXT) tui-main.o libgdb.a \
                $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
 
 nlm:   force
@@ -1103,7 +1124,7 @@ nlm:      force
 # against that.
 #
 # init.o is very important.  It pulls in the rest of GDB.
-LIBGDB_OBS= $(OBS) $(TSOBS) $(ADD_FILES) init.o
+LIBGDB_OBS= $(COMMON_OBS) $(TSOBS) $(ADD_FILES) init.o
 libgdb.a: $(LIBGDB_OBS)
        -rm -f libgdb.a
        $(AR) q libgdb.a $(LIBGDB_OBS)
@@ -1155,20 +1176,23 @@ TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
 tags: TAGS
 
 clean mostlyclean: $(CONFIG_CLEAN)
-       @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do 
+       @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
        rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp init.l-tmp version.c-tmp
        rm -f init.c version.c
        rm -f gdb$(EXEEXT) core make.log
        rm -f gdb[0-9]$(EXEEXT)
+.PHONY: clean-tui
+clean-tui:
+       rm -f $(TUI)$(EXEEXT)
 
-# This used to depend on c-exp.tab.c m2-exp.tab.c TAGS
+# This used to depend on c-exp.c m2-exp.c TAGS
 # I believe this is wrong; the makefile standards for distclean just
 # describe removing files; the only sort of "re-create a distribution"
 # functionality described is if the distributed files are unmodified.
 # NB: While GDBSERVER might be configured on native systems, it isn't
 # always included in SUBDIRS.  Remove the gdbserver files explictly.
 distclean: clean
-       @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do 
+       @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
        rm -f gdbserver/config.status gdbserver/config.log
        rm -f gdbserver/tm.h gdbserver/xm.h gdbserver/nm.h
        rm -f gdbserver/Makefile gdbserver/config.cache
@@ -1183,11 +1207,11 @@ realclean: maintainer-clean
 local-maintainer-clean:
        @echo "This command is intended for maintainers to use;"
        @echo "it deletes files that may require special tools to rebuild."
-       rm -f c-exp.tab.c \
-               ada-lex.c ada-exp.tab.c \
-               objc-exp.tab.c \
+       rm -f c-exp.c \
+               ada-lex.c ada-exp.c \
+               objc-exp.c \
                jv-exp.tab \
-               f-exp.tab.c m2-exp.tab.c p-exp.tab.c
+               f-exp.c m2-exp.c p-exp.c
        rm -f TAGS $(INFOFILES)
        rm -f $(YYFILES)
        rm -f nm.h tm.h xm.h config.status
@@ -1279,6 +1303,11 @@ ALLDEPFILES = \
        alpha-nat.c alphabsd-nat.c \
        alpha-tdep.c alpha-linux-tdep.c alphabsd-tdep.c alphanbsd-tdep.c \
        alpha-osf1-tdep.c alphafbsd-tdep.c alpha-mdebug-tdep.c \
+       amd64-nat.c amd64-tdep.c \
+       amd64bsd-nat.c amdfbsd-nat.c amd64fbsd-tdep.c \
+       amd64nbsd-nat.c amd64nbsd-tdep.c \
+       amd64obsd-nat.c amd64obsd-tdep.c \
+       amd64-linux-nat.c amd64-linux-tdep.c \
        arm-linux-nat.c arm-linux-tdep.c arm-tdep.c \
        armnbsd-nat.c armnbsd-tdep.c \
        avr-tdep.c \
@@ -1289,7 +1318,7 @@ ALLDEPFILES = \
        go32-nat.c h8300-tdep.c \
        hppa-tdep.c hppa-hpux-tdep.c \
        hppah-nat.c hpread.c \
-       i386-tdep.c i386b-nat.c i386v-nat.c i386-linux-nat.c \
+       i386-tdep.c i386v-nat.c i386-linux-nat.c \
        i386v4-nat.c i386ly-tdep.c i386-cygwin-tdep.c \
        i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c i386fbsd-tdep.c \
        i387-tdep.c \
@@ -1328,7 +1357,7 @@ ALLDEPFILES = \
        sparc64-linux-tdep.c sparc64-nat.c sparc64-sol2-tdep.c \
        sparc64-tdep.c sparc64fbsd-nat.c sparc64fbsd-tdep.c \
        sparc64nbsd-nat.c sparc64nbsd-tdep.c sparc64obsd-tdep.c \
-       sparcnbsd-nat.c sparcnbsd-tdep.c \
+       sparcnbsd-nat.c sparcnbsd-tdep.c sparcobsd-tdep.c \
        sun3-nat.c \
        symm-tdep.c symm-nat.c \
        vax-tdep.c \
@@ -1396,21 +1425,17 @@ valprint.o: $(srcdir)/valprint.c
 #
 # YACC/LEX dependencies
 #
-# LANG-exp.tab.c is generated in objdir from LANG-exp.y if it doesn't
-# exist in srcdir, then compiled in objdir to LANG-exp.tab.o.  If we
-# said LANG-exp.tab.c rather than ./c-exp.tab.c some makes would
-# sometimes re-write it into $(srcdir)/c-exp.tab.c.  Remove bogus
+# LANG-exp.c is generated in objdir from LANG-exp.y if it doesn't
+# exist in srcdir, then compiled in objdir to LANG-exp.o.  If we
+# said LANG-exp.c rather than ./c-exp.c some makes would
+# sometimes re-write it into $(srcdir)/c-exp.c.  Remove bogus
 # decls for malloc/realloc/free which conflict with everything else.
-# Strictly speaking c-exp.tab.c should therefore depend on
+# Strictly speaking c-exp.c should therefore depend on
 # Makefile.in, but that was a pretty big annoyance.
 
-.PRECIOUS: ada-exp.tab.c
-ada-exp.tab.o: ada-exp.tab.c $(defs_h) $(expression_h) $(value_h) \
-       $(parser_defs_h) $(language_h) $(ada_lang_h) $(bfd_h) $(symfile_h) \
-       $(objfiles_h) $(frame_h) $(block_h) $(ada_lex_c)
-ada-exp.tab.c: ada-exp.y
-       $(SHELL) $(YLWRAP) "$(YACC)" \
-           $(srcdir)/ada-exp.y  y.tab.c ada-exp.tmp -- $(YFLAGS) 
+.SUFFIXES: .y .l
+.y.c: 
+       $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $@.tmp -- $(YFLAGS)
        -sed -e '/extern.*malloc/d' \
             -e '/extern.*realloc/d' \
             -e '/extern.*free/d' \
@@ -1418,124 +1443,27 @@ ada-exp.tab.c: ada-exp.y
             -e 's/malloc/xmalloc/g' \
             -e 's/realloc/xrealloc/g' \
             -e '/^#line.*y.tab.c/d' \
-         < ada-exp.tmp > ada-exp.new
-       -rm ada-exp.tmp
-       mv ada-exp.new ./ada-exp.tab.c
-.PRECIOUS: ada-lex.c
-ada-lex.o: ada-lex.c
-ada-lex.c: ada-lex.l
+         < $@.tmp > $@.new
+       -rm $@.tmp
+       mv $@.new ./$*.c
+.l.c:
        @if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
-           echo $(FLEX) -Isit $(srcdir)/ada-lex.l ">" ada-lex.c; \
-           $(FLEX) -Isit $(srcdir)/ada-lex.l > ada-lex.c; \
-       elif [ ! -f ada-lex.c -a ! -f $(srcdir)/ada-lex.c ]; then \
+           echo $(FLEX) -Isit $< ">" $@; \
+           $(FLEX) -Isit $< > $@; \
+       elif [ ! -f $@ -a ! -f $< ]; then \
            echo "ada-lex.c missing and flex not available."; \
            false; \
-       elif [ ! -f ada-lex.c ]; then \
-           echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
+       elif [ ! -f $@ ]; then \
+           echo "Warning: $*.c older than $*.l and flex not available."; \
        fi
-.PRECIOUS: c-exp.tab.c
-c-exp.tab.o: c-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
-       $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) $(bfd_h) \
-       $(symfile_h) $(objfiles_h) $(charset_h) $(block_h) $(cp_support_h)
-c-exp.tab.c: c-exp.y
-       $(SHELL) $(YLWRAP) "$(YACC)" \
-           $(srcdir)/c-exp.y  y.tab.c c-exp.tmp -- $(YFLAGS) 
-       -sed -e '/extern.*malloc/d' \
-            -e '/extern.*realloc/d' \
-            -e '/extern.*free/d' \
-            -e '/include.*malloc.h/d' \
-            -e 's/malloc/xmalloc/g' \
-            -e 's/realloc/xrealloc/g' \
-            -e '/^#line.*y.tab.c/d' \
-         < c-exp.tmp > c-exp.new
-       -rm c-exp.tmp
-       mv c-exp.new ./c-exp.tab.c
-.PRECIOUS: f-exp.tab.c
-f-exp.tab.o: f-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
-       $(value_h) $(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) \
-       $(symfile_h) $(objfiles_h) $(block_h)
-f-exp.tab.c: f-exp.y
-       $(SHELL) $(YLWRAP) "$(YACC)" \
-           $(srcdir)/f-exp.y  y.tab.c f-exp.tmp -- $(YFLAGS) 
-       -sed -e '/extern.*malloc/d' \
-            -e '/extern.*realloc/d' \
-            -e '/extern.*free/d' \
-            -e '/include.*malloc.h/d' \
-            -e 's/malloc/xmalloc/g' \
-            -e 's/realloc/xrealloc/g' \
-            -e '/^#line.*y.tab.c/d' \
-         < f-exp.tmp > f-exp.new
-       -rm f-exp.tmp
-       mv f-exp.new ./f-exp.tab.c
-.PRECIOUS: jv-exp.tab.c
-jv-exp.tab.o: jv-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
-       $(value_h) $(parser_defs_h) $(language_h) $(jv_lang_h) $(bfd_h) \
-       $(symfile_h) $(objfiles_h) $(block_h)
-jv-exp.tab.c: jv-exp.y
-       $(SHELL) $(YLWRAP) "$(YACC)" \
-           $(srcdir)/jv-exp.y  y.tab.c jv-exp.tmp -- $(YFLAGS) 
-       -sed -e '/extern.*malloc/d' \
-            -e '/extern.*realloc/d' \
-            -e '/extern.*free/d' \
-            -e '/include.*malloc.h/d' \
-            -e 's/malloc/xmalloc/g' \
-            -e 's/realloc/xrealloc/g' \
-            -e '/^#line.*y.tab.c/d' \
-         < jv-exp.tmp > jv-exp.new
-       -rm jv-exp.tmp
-       mv jv-exp.new ./jv-exp.tab.c
-.PRECIOUS: m2-exp.tab.c
-m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
-       $(language_h) $(value_h) $(parser_defs_h) $(m2_lang_h) $(bfd_h) \
-       $(symfile_h) $(objfiles_h) $(block_h)
-m2-exp.tab.c: m2-exp.y
-       $(SHELL) $(YLWRAP) "$(YACC)" \
-           $(srcdir)/m2-exp.y  y.tab.c m2-exp.tmp -- $(YFLAGS) 
-       -sed -e '/extern.*malloc/d' \
-            -e '/extern.*realloc/d' \
-            -e '/extern.*free/d' \
-            -e '/include.*malloc.h/d' \
-            -e 's/malloc/xmalloc/g' \
-            -e 's/realloc/xrealloc/g' \
-            -e '/^#line.*y.tab.c/d' \
-         < m2-exp.tmp > m2-exp.new
-       -rm m2-exp.tmp
-       mv m2-exp.new ./m2-exp.tab.c
-.PRECIOUS: objc-exp.tab.c
-objc-exp.tab.o: objc-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
-       $(objc_lang_h) $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) \
-       $(bfd_h) $(symfile_h) $(objfiles_h) $(top_h) $(completer_h) \
-       $(block_h)
-objc-exp.tab.c: objc-exp.y
-       $(SHELL) $(YLWRAP) "$(YACC)" \
-           $(srcdir)/objc-exp.y  y.tab.c objc-exp.tmp -- $(YFLAGS) 
-       -sed -e '/extern.*malloc/d' \
-            -e '/extern.*realloc/d' \
-            -e '/extern.*free/d' \
-            -e '/include.*malloc.h/d' \
-            -e 's/malloc/xmalloc/g' \
-            -e 's/realloc/xrealloc/g' \
-            -e '/^#line.*y.tab.c/d' \
-         < objc-exp.tmp > objc-exp.new
-       -rm objc-exp.tmp
-       mv objc-exp.new ./objc-exp.tab.c
-.PRECIOUS: p-exp.tab.c
-p-exp.tab.o: p-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
-       $(value_h) $(parser_defs_h) $(language_h) $(p_lang_h) $(bfd_h) \
-       $(symfile_h) $(objfiles_h) $(block_h)
-p-exp.tab.c: p-exp.y
-       $(SHELL) $(YLWRAP) "$(YACC)" \
-           $(srcdir)/p-exp.y  y.tab.c p-exp.tmp -- $(YFLAGS) 
-       -sed -e '/extern.*malloc/d' \
-            -e '/extern.*realloc/d' \
-            -e '/extern.*free/d' \
-            -e '/include.*malloc.h/d' \
-            -e 's/malloc/xmalloc/g' \
-            -e 's/realloc/xrealloc/g' \
-            -e '/^#line.*y.tab.c/d' \
-         < p-exp.tmp > p-exp.new
-       -rm p-exp.tmp
-       mv p-exp.new ./p-exp.tab.c
+
+.PRECIOUS: ada-exp.c ada-lex.c
+.PRECIOUS: c-exp.c
+.PRECIOUS: f-exp.c
+.PRECIOUS: jv-exp.c
+.PRECIOUS: m2-exp.c
+.PRECIOUS: objc-exp.c
+.PRECIOUS: p-exp.c
 
 #
 # gdb/ dependencies
@@ -1543,11 +1471,15 @@ p-exp.tab.c: p-exp.y
 
 abug-rom.o: abug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
        $(serial_h) $(regcache_h) $(m68k_tdep_h)
+ada-exp.o: ada-exp.c $(defs_h) $(expression_h) $(value_h) $(parser_defs_h) \
+       $(language_h) $(ada_lang_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
+       $(frame_h) $(block_h) $(ada_lex_c)
 ada-lang.o: ada-lang.c $(gdb_string_h) $(demangle_h) $(defs_h) $(symtab_h) \
        $(gdbtypes_h) $(gdbcmd_h) $(expression_h) $(parser_defs_h) \
        $(language_h) $(c_lang_h) $(inferior_h) $(symfile_h) $(objfiles_h) \
        $(breakpoint_h) $(gdbcore_h) $(ada_lang_h) $(ui_out_h) $(block_h) \
        $(infcall_h) $(dictionary_h)
+ada-lex.o: ada-lex.c
 ada-tasks.o: ada-tasks.c $(defs_h) $(command_h) $(value_h) $(language_h) \
        $(inferior_h) $(symtab_h) $(target_h) $(regcache_h) $(gdbcore_h) \
        $(gregset_h) $(ada_lang_h)
@@ -1586,19 +1518,36 @@ alpha-tdep.o: alpha-tdep.c $(defs_h) $(doublest_h) $(frame_h) \
        $(regcache_h) $(reggroups_h) $(arch_utils_h) $(osabi_h) $(block_h) \
        $(elf_bfd_h) $(alpha_tdep_h)
 amd64bsd-nat.o: amd64bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
-       $(gdb_assert_h) $(x86_64_tdep_h) $(amd64_nat_h)
+       $(gdb_assert_h) $(amd64_tdep_h) $(amd64_nat_h)
 amd64fbsd-nat.o: amd64fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
-       $(gdb_assert_h) $(gregset_h) $(x86_64_tdep_h) $(amd64_nat_h)
+       $(gdb_assert_h) $(gregset_h) $(amd64_tdep_h) $(amd64_nat_h)
 amd64fbsd-tdep.o: amd64fbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
        $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
-       $(x86_64_tdep_h)
+       $(amd64_tdep_h) $(solib_svr4_h)
+amd64-linux-nat.o: amd64-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
+       $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
+       $(gdb_proc_service_h) $(gregset_h) $(amd64_tdep_h) \
+       $(amd64_linux_tdep_h) $(i386_linux_tdep_h) $(amd64_nat_h)
+amd64-linux-tdep.o: amd64-linux-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) \
+       $(regcache_h) $(osabi_h) $(gdb_string_h) $(amd64_tdep_h) \
+       $(amd64_linux_tdep_h)
 amd64-nat.o: amd64-nat.c $(defs_h) $(gdbarch_h) $(regcache_h) \
-       $(gdb_assert_h) $(i386_tdep_h) $(x86_64_tdep_h)
-amd64nbsd-nat.o: amd64nbsd-nat.c $(defs_h) $(gdb_assert_h) $(x86_64_tdep_h) \
+       $(gdb_assert_h) $(i386_tdep_h) $(amd64_tdep_h)
+amd64nbsd-nat.o: amd64nbsd-nat.c $(defs_h) $(gdb_assert_h) $(amd64_tdep_h) \
        $(amd64_nat_h)
 amd64nbsd-tdep.o: amd64nbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
-       $(gdbcore_h) $(osabi_h) $(gdb_assert_h) $(nbsd_tdep_h) \
-       $(x86_64_tdep_h)
+       $(gdbcore_h) $(osabi_h) $(gdb_assert_h) $(amd64_tdep_h) \
+       $(nbsd_tdep_h) $(solib_svr4_h)
+amd64obsd-nat.o: amd64obsd-nat.c $(defs_h) $(gdb_assert_h) $(amd64_tdep_h) \
+       $(amd64_nat_h)
+amd64obsd-tdep.o: amd64obsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
+       $(osabi_h) $(regset_h) $(target_h) $(gdb_assert_h) $(gdb_string_h) \
+       $(amd64_tdep_h) $(i387_tdep_h) $(solib_svr4_h)
+amd64-tdep.o: amd64-tdep.c $(defs_h) $(arch_utils_h) $(block_h) \
+       $(dummy_frame_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
+       $(inferior_h) $(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(regcache_h) \
+       $(regset_h) $(symfile_h) $(gdb_assert_h) $(amd64_tdep_h) \
+       $(i387_tdep_h)
 annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) \
        $(gdbtypes_h) $(breakpoint_h)
 arch-utils.o: arch-utils.c $(defs_h) $(arch_utils_h) $(buildsym_h) \
@@ -1616,11 +1565,14 @@ armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(arm_tdep_h) $(inferior_h) \
 armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) $(osabi_h) $(arm_tdep_h) \
        $(nbsd_tdep_h) $(solib_svr4_h)
 arm-tdep.o: arm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcmd_h) \
-       $(gdbcore_h) $(symfile_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) \
+       $(gdbcore_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) \
        $(doublest_h) $(value_h) $(arch_utils_h) $(osabi_h) \
        $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(arm_tdep_h) \
        $(gdb_sim_arm_h) $(elf_bfd_h) $(coff_internal_h) $(elf_arm_h) \
        $(gdb_assert_h) $(bfd_in2_h) $(libcoff_h)
+auxv.o: auxv.c $(defs_h) $(target_h) $(gdbtypes_h) $(command_h) \
+       $(inferior_h) $(valprint_h) $(gdb_assert_h) $(auxv_h) \
+       $(elf_common_h)
 avr-tdep.o: avr-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
        $(frame_base_h) $(trad_frame_h) $(gdbcmd_h) $(gdbcore_h) \
        $(inferior_h) $(symfile_h) $(arch_utils_h) $(regcache_h) \
@@ -1636,10 +1588,10 @@ bfd-target.o: bfd-target.c $(defs_h) $(target_h) $(bfd_target_h) \
        $(gdb_assert_h) $(gdb_string_h)
 block.o: block.c $(defs_h) $(block_h) $(symtab_h) $(symfile_h) \
        $(gdb_obstack_h) $(cp_support_h)
-blockframe.o: blockframe.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
-       $(objfiles_h) $(frame_h) $(gdbcore_h) $(value_h) $(target_h) \
-       $(inferior_h) $(annotate_h) $(regcache_h) $(gdb_assert_h) \
-       $(dummy_frame_h) $(command_h) $(gdbcmd_h) $(block_h)
+blockframe.o: blockframe.c $(defs_h) $(symtab_h) $(bfd_h) $(objfiles_h) \
+       $(frame_h) $(gdbcore_h) $(value_h) $(target_h) $(inferior_h) \
+       $(annotate_h) $(regcache_h) $(gdb_assert_h) $(dummy_frame_h) \
+       $(command_h) $(gdbcmd_h) $(block_h)
 breakpoint.o: breakpoint.c $(defs_h) $(symtab_h) $(frame_h) $(breakpoint_h) \
        $(gdbtypes_h) $(expression_h) $(gdbcore_h) $(gdbcmd_h) $(value_h) \
        $(command_h) $(inferior_h) $(gdbthread_h) $(target_h) $(language_h) \
@@ -1652,6 +1604,9 @@ buildsym.o: buildsym.c $(defs_h) $(bfd_h) $(gdb_obstack_h) $(symtab_h) \
        $(complaints_h) $(gdb_string_h) $(expression_h) $(language_h) \
        $(bcache_h) $(filenames_h) $(macrotab_h) $(demangle_h) $(block_h) \
        $(cp_support_h) $(dictionary_h) $(buildsym_h) $(stabsread_h)
+c-exp.o: c-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
+       $(parser_defs_h) $(language_h) $(c_lang_h) $(bfd_h) $(symfile_h) \
+       $(objfiles_h) $(charset_h) $(block_h) $(cp_support_h)
 charset.o: charset.c $(defs_h) $(charset_h) $(gdbcmd_h) $(gdb_assert_h) \
        $(gdb_string_h)
 c-lang.o: c-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
@@ -1664,17 +1619,16 @@ coff-pe-read.o: coff-pe-read.c $(coff_pe_read_h) $(bfd_h) $(defs_h) \
        $(gdbtypes_h) $(symtab_h) $(symfile_h) $(objfiles_h)
 coffread.o: coffread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(demangle_h) \
        $(breakpoint_h) $(bfd_h) $(gdb_obstack_h) $(gdb_string_h) \
-       $(coff_internal_h) $(libcoff_h) $(symfile_h) $(objfiles_h) \
-       $(buildsym_h) $(gdb_stabs_h) $(stabsread_h) $(complaints_h) \
-       $(target_h) $(gdb_assert_h) $(block_h) $(dictionary_h) \
-       $(coff_pe_read_h)
+       $(coff_internal_h) $(libcoff_h) $(objfiles_h) $(buildsym_h) \
+       $(gdb_stabs_h) $(stabsread_h) $(complaints_h) $(target_h) \
+       $(gdb_assert_h) $(block_h) $(dictionary_h) $(coff_pe_read_h)
 coff-solib.o: coff-solib.c $(defs_h) $(frame_h) $(bfd_h) $(gdbcore_h) \
        $(symtab_h) $(symfile_h) $(objfiles_h)
 complaints.o: complaints.c $(defs_h) $(complaints_h) $(gdb_assert_h) \
        $(command_h) $(gdbcmd_h)
 completer.o: completer.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
        $(filenames_h) $(language_h) $(cli_decode_h) $(gdbcmd_h) \
-       $(completer_h)
+       $(readline_h) $(completer_h)
 copying.o: copying.c $(defs_h) $(command_h) $(gdbcmd_h)
 core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(regcache_h) \
        $(gdb_dirent_h) $(gdb_stat_h)
@@ -1684,7 +1638,7 @@ corefile.o: corefile.c $(defs_h) $(gdb_string_h) $(inferior_h) $(symtab_h) \
 corelow.o: corelow.c $(defs_h) $(arch_utils_h) $(gdb_string_h) $(frame_h) \
        $(inferior_h) $(symtab_h) $(command_h) $(bfd_h) $(target_h) \
        $(gdbcore_h) $(gdbthread_h) $(regcache_h) $(regset_h) $(symfile_h) \
-       $(exec_h) $(gdb_assert_h)
+       $(exec_h) $(readline_h) $(gdb_assert_h)
 core-regset.o: core-regset.c $(defs_h) $(command_h) $(gdbcore_h) \
        $(inferior_h) $(target_h) $(gdb_string_h) $(gregset_h)
 cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(command_h) $(gdbcmd_h) \
@@ -1702,10 +1656,12 @@ cp-valprint.o: cp-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
        $(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
        $(demangle_h) $(annotate_h) $(gdb_string_h) $(c_lang_h) $(target_h) \
        $(cp_abi_h) $(valprint_h)
-cris-tdep.o: cris-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(inferior_h) \
-       $(gdbtypes_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) $(value_h) \
-       $(opcode_cris_h) $(arch_utils_h) $(regcache_h) $(gdb_assert_h) \
-       $(symfile_h) $(solib_h) $(solib_svr4_h) $(gdb_string_h) $(dis_asm_h)
+cris-tdep.o: cris-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
+       $(frame_base_h) $(trad_frame_h) $(dwarf2_frame_h) $(symtab_h) \
+       $(inferior_h) $(gdbtypes_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) \
+       $(value_h) $(opcode_cris_h) $(arch_utils_h) $(regcache_h) \
+       $(gdb_assert_h) $(objfiles_h) $(solib_h) $(solib_svr4_h) \
+       $(gdb_string_h) $(dis_asm_h)
 c-typeprint.o: c-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
        $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
        $(language_h) $(demangle_h) $(c_lang_h) $(typeprint_h) $(cp_abi_h) \
@@ -1723,7 +1679,7 @@ dbug-rom.o: dbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
        $(serial_h) $(regcache_h) $(m68k_tdep_h)
 dbxread.o: dbxread.c $(defs_h) $(gdb_string_h) $(gdb_obstack_h) \
        $(gdb_stat_h) $(symtab_h) $(breakpoint_h) $(target_h) $(gdbcore_h) \
-       $(libaout_h) $(symfile_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
+       $(libaout_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
        $(gdb_stabs_h) $(demangle_h) $(language_h) $(complaints_h) \
        $(cp_abi_h) $(gdb_assert_h) $(aout_aout64_h) $(aout_stab_gnu_h)
 dcache.o: dcache.c $(defs_h) $(dcache_h) $(gdbcmd_h) $(gdb_string_h) \
@@ -1759,13 +1715,13 @@ dwarf2loc.o: dwarf2loc.c $(defs_h) $(ui_out_h) $(value_h) $(frame_h) \
        $(regcache_h) $(objfiles_h) $(elf_dwarf2_h) $(dwarf2expr_h) \
        $(dwarf2loc_h) $(gdb_string_h)
 dwarf2read.o: dwarf2read.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
-       $(symfile_h) $(objfiles_h) $(elf_dwarf2_h) $(buildsym_h) \
-       $(demangle_h) $(expression_h) $(filenames_h) $(macrotab_h) \
-       $(language_h) $(complaints_h) $(bcache_h) $(dwarf2expr_h) \
-       $(dwarf2loc_h) $(cp_support_h) $(gdb_string_h) $(gdb_assert_h)
-dwarfread.o: dwarfread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(symfile_h) \
-       $(objfiles_h) $(elf_dwarf_h) $(buildsym_h) $(demangle_h) \
-       $(expression_h) $(language_h) $(complaints_h) $(gdb_string_h)
+       $(objfiles_h) $(elf_dwarf2_h) $(buildsym_h) $(demangle_h) \
+       $(expression_h) $(filenames_h) $(macrotab_h) $(language_h) \
+       $(complaints_h) $(bcache_h) $(dwarf2expr_h) $(dwarf2loc_h) \
+       $(cp_support_h) $(gdb_string_h) $(gdb_assert_h)
+dwarfread.o: dwarfread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(objfiles_h) \
+       $(elf_dwarf_h) $(buildsym_h) $(demangle_h) $(expression_h) \
+       $(language_h) $(complaints_h) $(gdb_string_h)
 elfread.o: elfread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(elf_bfd_h) \
        $(elf_mips_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
        $(stabsread_h) $(gdb_stabs_h) $(complaints_h) $(demangle_h)
@@ -1778,15 +1734,19 @@ event-loop.o: event-loop.c $(defs_h) $(event_loop_h) $(event_top_h) \
        $(gdb_string_h)
 event-top.o: event-top.c $(defs_h) $(top_h) $(inferior_h) $(target_h) \
        $(terminal_h) $(event_loop_h) $(event_top_h) $(interps_h) \
-       $(gdbcmd_h)
+       $(gdbcmd_h) $(readline_h) $(readline_history_h)
 exec.o: exec.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) $(gdbcmd_h) \
        $(language_h) $(symfile_h) $(objfiles_h) $(completer_h) $(value_h) \
-       $(exec_h) $(gdb_string_h) $(gdbcore_h) $(gdb_stat_h) $(xcoffsolib_h)
+       $(exec_h) $(readline_h) $(gdb_string_h) $(gdbcore_h) $(gdb_stat_h) \
+       $(xcoffsolib_h)
 expprint.o: expprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
        $(value_h) $(language_h) $(parser_defs_h) $(user_regs_h) $(target_h) \
        $(gdb_string_h) $(block_h)
 fbsd-proc.o: fbsd-proc.c $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(gdb_string_h) $(elf_bfd_h) $(gregset_h)
+f-exp.o: f-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
+       $(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) $(symfile_h) \
+       $(objfiles_h) $(block_h)
 findvar.o: findvar.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(frame_h) \
        $(value_h) $(gdbcore_h) $(inferior_h) $(target_h) $(gdb_string_h) \
        $(gdb_assert_h) $(floatformat_h) $(symfile_h) $(regcache_h) \
@@ -1805,11 +1765,10 @@ frame.o: frame.c $(defs_h) $(frame_h) $(target_h) $(value_h) $(inferior_h) \
        $(command_h) $(gdbcmd_h)
 frame-unwind.o: frame-unwind.c $(defs_h) $(frame_h) $(frame_unwind_h) \
        $(gdb_assert_h) $(dummy_frame_h)
-frv-tdep.o: frv-tdep.c $(defs_h) $(gdb_string_h) $(inferior_h) $(symfile_h) \
-       $(gdbcore_h) $(arch_utils_h) $(regcache_h) $(frame_h) \
-       $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(dis_asm_h) \
-       $(gdb_assert_h) $(sim_regno_h) $(gdb_sim_frv_h) \
-       $(opcodes_frv_desc_h)
+frv-tdep.o: frv-tdep.c $(defs_h) $(gdb_string_h) $(inferior_h) $(gdbcore_h) \
+       $(arch_utils_h) $(regcache_h) $(frame_h) $(frame_unwind_h) \
+       $(frame_base_h) $(trad_frame_h) $(dis_asm_h) $(gdb_assert_h) \
+       $(sim_regno_h) $(gdb_sim_frv_h) $(opcodes_frv_desc_h) $(symtab_h)
 f-typeprint.o: f-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
        $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
        $(f_lang_h) $(gdb_string_h)
@@ -1821,8 +1780,7 @@ gcore.o: gcore.c $(defs_h) $(elf_bfd_h) $(infcall_h) $(inferior_h) \
        $(gdb_assert_h)
 gdbarch.o: gdbarch.c $(defs_h) $(arch_utils_h) $(gdbcmd_h) $(inferior_h) \
        $(symcat_h) $(floatformat_h) $(gdb_assert_h) $(gdb_string_h) \
-       $(gdb_events_h) $(reggroups_h) $(osabi_h) $(symfile_h) \
-       $(gdb_obstack_h)
+       $(gdb_events_h) $(reggroups_h) $(osabi_h) $(gdb_obstack_h)
 gdb.o: gdb.c $(defs_h) $(main_h) $(gdb_string_h) $(interps_h)
 gdb-events.o: gdb-events.c $(defs_h) $(gdb_events_h) $(gdbcmd_h)
 gdbtypes.o: gdbtypes.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
@@ -1855,16 +1813,17 @@ hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
        $(osabi_h) $(gdb_string_h) $(frame_h)
 hppa-tdep.o: hppa-tdep.c $(defs_h) $(frame_h) $(bfd_h) $(inferior_h) \
        $(value_h) $(regcache_h) $(completer_h) $(language_h) $(osabi_h) \
-       $(gdb_assert_h) $(infttrace_h) $(symtab_h) $(infcall_h) $(dis_asm_h) \
-       $(a_out_encap_h) $(gdb_stat_h) $(gdb_wait_h) $(gdbcore_h) \
-       $(gdbcmd_h) $(target_h) $(symfile_h) $(objfiles_h) $(hppa_tdep_h)
+       $(gdb_assert_h) $(infttrace_h) $(arch_utils_h) $(symtab_h) \
+       $(infcall_h) $(dis_asm_h) $(trad_frame_h) $(frame_unwind_h) \
+       $(frame_base_h) $(a_out_encap_h) $(gdb_stat_h) $(gdb_wait_h) \
+       $(gdbcore_h) $(gdbcmd_h) $(target_h) $(symfile_h) $(objfiles_h) \
+       $(hppa_tdep_h)
 hpread.o: hpread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(hp_symtab_h) \
        $(syms_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
        $(complaints_h) $(gdb_stabs_h) $(gdbtypes_h) $(demangle_h) \
        $(somsolib_h) $(gdb_assert_h) $(gdb_string_h)
 hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
        $(inferior_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h)
-i386b-nat.o: i386b-nat.c $(defs_h)
 i386bsd-nat.o: i386bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
        $(gdb_assert_h) $(gregset_h) $(i386_tdep_h) $(i387_tdep_h)
 i386bsd-tdep.o: i386bsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
@@ -1874,7 +1833,7 @@ i386-cygwin-tdep.o: i386-cygwin-tdep.c $(defs_h) $(osabi_h) $(gdb_string_h) \
 i386fbsd-nat.o: i386fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
        $(i386_tdep_h)
 i386fbsd-tdep.o: i386fbsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
-       $(i386_tdep_h) $(i387_tdep_h)
+       $(i386_tdep_h) $(i387_tdep_h) $(solib_svr4_h)
 i386gnu-nat.o: i386gnu-nat.c $(defs_h) $(inferior_h) $(floatformat_h) \
        $(regcache_h) $(gdb_assert_h) $(i386_tdep_h) $(gnu_nat_h) \
        $(i387_tdep_h) $(gregset_h)
@@ -1904,8 +1863,8 @@ i386-nto-tdep.o: i386-nto-tdep.c $(gdb_string_h) $(gdb_assert_h) $(defs_h) \
        $(nto_tdep_h) $(osabi_h) $(i387_tdep_h)
 i386obsd-nat.o: i386obsd-nat.c $(defs_h) $(i386_tdep_h)
 i386obsd-tdep.o: i386obsd-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
-       $(regcache_h) $(regset_h) $(osabi_h) $(gdb_assert_h) $(gdb_string_h) \
-       $(i386_tdep_h) $(i387_tdep_h)
+       $(regcache_h) $(regset_h) $(osabi_h) $(target_h) $(gdb_assert_h) \
+       $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h) $(solib_svr4_h)
 i386-sol2-tdep.o: i386-sol2-tdep.c $(defs_h) $(value_h) $(osabi_h) \
        $(i386_tdep_h)
 i386-stub.o: i386-stub.c
@@ -1930,16 +1889,17 @@ ia64-aix-nat.o: ia64-aix-nat.c $(defs_h) $(inferior_h) $(target_h) \
 ia64-aix-tdep.o: ia64-aix-tdep.c $(defs_h)
 ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
        $(target_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h)
-ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h)
-ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
+ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(ia64_tdep_h) \
+       $(arch_utils_h) $(gdbcore_h) $(regcache_h)
+ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(gdbcore_h) \
        $(arch_utils_h) $(floatformat_h) $(regcache_h) $(reggroups_h) \
        $(frame_h) $(frame_base_h) $(frame_unwind_h) $(doublest_h) \
        $(value_h) $(gdb_assert_h) $(objfiles_h) $(elf_common_h) \
-       $(elf_bfd_h) $(elf_h) $(dis_asm_h) $(libunwind_frame_h) \
-       $(libunwind_ia64_h)
+       $(elf_bfd_h) $(elf_h) $(dis_asm_h) $(ia64_tdep_h) \
+       $(libunwind_frame_h) $(libunwind_ia64_h)
 infcall.o: infcall.c $(defs_h) $(breakpoint_h) $(target_h) $(regcache_h) \
        $(inferior_h) $(gdb_assert_h) $(block_h) $(gdbcore_h) $(language_h) \
-       $(symfile_h) $(gdbcmd_h) $(command_h) $(gdb_string_h) $(infcall_h)
+       $(objfiles_h) $(gdbcmd_h) $(command_h) $(gdb_string_h) $(infcall_h)
 infcmd.o: infcmd.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
        $(frame_h) $(inferior_h) $(environ_h) $(value_h) $(gdbcmd_h) \
        $(symfile_h) $(gdbcore_h) $(target_h) $(language_h) $(symfile_h) \
@@ -1958,7 +1918,7 @@ infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
        $(inferior_h) $(breakpoint_h) $(gdb_wait_h) $(gdbcore_h) $(gdbcmd_h) \
        $(cli_script_h) $(target_h) $(gdbthread_h) $(annotate_h) \
        $(symfile_h) $(top_h) $(inf_loop_h) $(regcache_h) $(value_h) \
-       $(observer_h) $(language_h)
+       $(observer_h) $(language_h) $(gdb_assert_h)
 inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
        $(gdbcore_h) $(command_h) $(gdb_stat_h) $(gdb_wait_h) $(inflow_h)
 infttrace.o: infttrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
@@ -1969,6 +1929,9 @@ interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \
        $(gdb_events_h) $(gdb_assert_h) $(top_h)
 irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
        $(regcache_h) $(gdb_string_h) $(gregset_h) $(mips_tdep_h)
+jv-exp.o: jv-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
+       $(parser_defs_h) $(language_h) $(jv_lang_h) $(bfd_h) $(symfile_h) \
+       $(objfiles_h) $(block_h)
 jv-lang.o: jv-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
        $(parser_defs_h) $(language_h) $(gdbtypes_h) $(symtab_h) \
        $(symfile_h) $(objfiles_h) $(gdb_string_h) $(value_h) $(c_lang_h) \
@@ -2003,6 +1966,9 @@ linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gdb_stat_h) \
        $(cli_decode_h) $(gdb_string_h) $(linux_nat_h)
 lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
        $(gdbcore_h) $(regcache_h)
+m2-exp.o: m2-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(language_h) \
+       $(value_h) $(parser_defs_h) $(m2_lang_h) $(bfd_h) $(symfile_h) \
+       $(objfiles_h) $(block_h)
 m2-lang.o: m2-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
        $(parser_defs_h) $(language_h) $(m2_lang_h) $(c_lang_h) \
        $(valprint_h)
@@ -2060,13 +2026,13 @@ maint.o: maint.c $(defs_h) $(command_h) $(gdbcmd_h) $(symtab_h) \
 mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
        $(gdb_string_h) $(regcache_h) $(serial_h)
 mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \
-       $(gdbcmd_h) $(regcache_h) $(symfile_h) $(gdbcore_h) $(inferior_h) \
+       $(gdbcmd_h) $(regcache_h) $(objfiles_h) $(gdbcore_h) $(inferior_h) \
        $(arch_utils_h) $(gdb_string_h) $(disasm_h) $(dis_asm_h)
 mdebugread.o: mdebugread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
-       $(symfile_h) $(objfiles_h) $(gdb_obstack_h) $(buildsym_h) \
-       $(stabsread_h) $(complaints_h) $(demangle_h) $(gdb_assert_h) \
-       $(block_h) $(dictionary_h) $(coff_sym_h) $(coff_symconst_h) \
-       $(gdb_stat_h) $(gdb_string_h) $(bfd_h) $(coff_ecoff_h) $(libaout_h) \
+       $(objfiles_h) $(gdb_obstack_h) $(buildsym_h) $(stabsread_h) \
+       $(complaints_h) $(demangle_h) $(gdb_assert_h) $(block_h) \
+       $(dictionary_h) $(coff_sym_h) $(coff_symconst_h) $(gdb_stat_h) \
+       $(gdb_string_h) $(bfd_h) $(coff_ecoff_h) $(libaout_h) \
        $(aout_aout64_h) $(aout_stab_gnu_h) $(expression_h) $(language_h)
 memattr.o: memattr.c $(defs_h) $(command_h) $(gdbcmd_h) $(memattr_h) \
        $(target_h) $(value_h) $(language_h) $(gdb_string_h)
@@ -2075,10 +2041,10 @@ mem-break.o: mem-break.c $(defs_h) $(symtab_h) $(breakpoint_h) $(inferior_h) \
 minsyms.o: minsyms.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
        $(symfile_h) $(objfiles_h) $(demangle_h) $(value_h) $(cp_abi_h)
 mips-irix-tdep.o: mips-irix-tdep.c $(defs_h) $(osabi_h) $(elf_bfd_h)
-mips-linux-nat.o: mips-linux-nat.c $(defs_h)
+mips-linux-nat.o: mips-linux-nat.c $(defs_h) $(mips_tdep_h)
 mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \
        $(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \
-       $(gdb_assert_h)
+       $(gdb_assert_h) $(frame_h)
 mips-nat.o: mips-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(regcache_h)
 mipsnbsd-nat.o: mipsnbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
        $(mipsnbsd_tdep_h)
@@ -2086,20 +2052,21 @@ mipsnbsd-tdep.o: mipsnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
        $(target_h) $(value_h) $(osabi_h) $(nbsd_tdep_h) $(mipsnbsd_tdep_h) \
        $(solib_svr4_h)
 mipsread.o: mipsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
-       $(symfile_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
-       $(coff_sym_h) $(coff_internal_h) $(coff_ecoff_h) $(libcoff_h) \
-       $(libecoff_h) $(elf_common_h) $(elf_mips_h)
+       $(objfiles_h) $(buildsym_h) $(stabsread_h) $(coff_sym_h) \
+       $(coff_internal_h) $(coff_ecoff_h) $(libcoff_h) $(libecoff_h) \
+       $(elf_common_h) $(elf_mips_h)
 mips-tdep.o: mips-tdep.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \
        $(frame_h) $(inferior_h) $(symtab_h) $(value_h) $(gdbcmd_h) \
        $(language_h) $(gdbcore_h) $(symfile_h) $(objfiles_h) $(gdbtypes_h) \
        $(target_h) $(arch_utils_h) $(regcache_h) $(osabi_h) $(mips_tdep_h) \
        $(block_h) $(reggroups_h) $(opcode_mips_h) $(elf_mips_h) \
-       $(elf_bfd_h) $(symcat_h) $(sim_regno_h) $(dis_asm_h)
+       $(elf_bfd_h) $(symcat_h) $(sim_regno_h) $(dis_asm_h) \
+       $(frame_unwind_h) $(frame_base_h) $(trad_frame_h)
 mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
        $(regcache_h) $(gregset_h)
 mn10300-tdep.o: mn10300-tdep.c $(defs_h) $(frame_h) $(inferior_h) \
        $(target_h) $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) \
-       $(symfile_h) $(regcache_h) $(arch_utils_h) $(gdb_assert_h) \
+       $(objfiles_h) $(regcache_h) $(arch_utils_h) $(gdb_assert_h) \
        $(dis_asm_h)
 monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \
        $(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) $(inferior_h) \
@@ -2120,6 +2087,10 @@ nto-procfs.o: nto-procfs.c $(defs_h) $(gdb_dirent_h) $(gdb_string_h) \
 nto-tdep.o: nto-tdep.c $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) $(top_h) \
        $(cli_decode_h) $(cli_cmds_h) $(inferior_h) $(gdbarch_h) $(bfd_h) \
        $(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h)
+objc-exp.o: objc-exp.c $(defs_h) $(gdb_string_h) $(expression_h) \
+       $(objc_lang_h) $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) \
+       $(bfd_h) $(symfile_h) $(objfiles_h) $(top_h) $(completer_h) \
+       $(block_h)
 objc-lang.o: objc-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
        $(parser_defs_h) $(language_h) $(c_lang_h) $(objc_lang_h) \
        $(complaints_h) $(value_h) $(symfile_h) $(objfiles_h) \
@@ -2144,6 +2115,9 @@ parse.o: parse.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
        $(frame_h) $(expression_h) $(value_h) $(command_h) $(language_h) \
        $(parser_defs_h) $(gdbcmd_h) $(symfile_h) $(inferior_h) \
        $(doublest_h) $(gdb_assert_h) $(block_h)
+p-exp.o: p-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \
+       $(parser_defs_h) $(language_h) $(p_lang_h) $(bfd_h) $(symfile_h) \
+       $(objfiles_h) $(block_h)
 p-lang.o: p-lang.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
        $(expression_h) $(parser_defs_h) $(language_h) $(p_lang_h) \
        $(valprint_h) $(value_h)
@@ -2172,15 +2146,15 @@ printcmd.o: printcmd.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \
        $(gdbtypes_h) $(value_h) $(language_h) $(expression_h) $(gdbcore_h) \
        $(gdbcmd_h) $(target_h) $(breakpoint_h) $(demangle_h) $(valprint_h) \
        $(annotate_h) $(symfile_h) $(objfiles_h) $(completer_h) $(ui_out_h) \
-       $(gdb_assert_h) $(block_h) $(disasm_h)
+       $(gdb_assert_h) $(block_h) $(disasm_h) $(tui_h)
 proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) $(completer_h) $(gdb_wait_h) \
        $(proc_utils_h)
 proc-events.o: proc-events.c $(defs_h)
 proc-flags.o: proc-flags.c $(defs_h)
 procfs.o: procfs.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
        $(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_wait_h) \
-       $(gdb_assert_h) $(inflow_h) $(gdb_dirent_h) $(X_OK) $(gdb_stat_h) \
-       $(proc_utils_h) $(gregset_h)
+       $(gdb_string_h) $(gdb_assert_h) $(inflow_h) $(auxv_h) \
+       $(gdb_dirent_h) $(X_OK) $(gdb_stat_h) $(proc_utils_h) $(gregset_h)
 proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \
        $(symtab_h) $(target_h) $(gregset_h)
 proc-why.o: proc-why.c $(defs_h) $(proc_utils_h)
@@ -2261,16 +2235,19 @@ rs6000-nat.o: rs6000-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
        $(gdb_stabs_h) $(regcache_h) $(arch_utils_h) $(language_h) \
        $(ppc_tdep_h) $(exec_h) $(gdb_stat_h)
 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \
-       $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) $(objfiles_h) \
-       $(arch_utils_h) $(regcache_h) $(doublest_h) $(value_h) \
-       $(parser_defs_h) $(osabi_h) $(libbfd_h) $(coff_internal_h) \
-       $(libcoff_h) $(coff_xcoff_h) $(libxcoff_h) $(elf_bfd_h) \
-       $(solib_svr4_h) $(ppc_tdep_h) $(gdb_assert_h) $(dis_asm_h)
-s390-nat.o: s390-nat.c $(defs_h) $(tm_h) $(regcache_h)
-s390-tdep.o: s390-tdep.c $(arch_utils_h) $(frame_h) $(inferior_h) \
-       $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \
-       $(objfiles_h) $(tm_h) $(__bfd_bfd_h) $(floatformat_h) $(regcache_h) \
-       $(value_h) $(gdb_assert_h) $(dis_asm_h)
+       $(target_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) $(arch_utils_h) \
+       $(regcache_h) $(doublest_h) $(value_h) $(parser_defs_h) $(osabi_h) \
+       $(libbfd_h) $(coff_internal_h) $(libcoff_h) $(coff_xcoff_h) \
+       $(libxcoff_h) $(elf_bfd_h) $(solib_svr4_h) $(ppc_tdep_h) \
+       $(gdb_assert_h) $(dis_asm_h)
+s390-nat.o: s390-nat.c $(defs_h) $(tm_h) $(regcache_h) $(inferior_h) \
+       $(s390_tdep_h)
+s390-tdep.o: s390-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) $(inferior_h) \
+       $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \
+       $(tm_h) $(__bfd_bfd_h) $(floatformat_h) $(regcache_h) \
+       $(trad_frame_h) $(frame_base_h) $(frame_unwind_h) $(dwarf2_frame_h) \
+       $(reggroups_h) $(regset_h) $(value_h) $(gdb_assert_h) $(dis_asm_h) \
+       $(solib_svr4_h) $(s390_tdep_h)
 scm-exp.o: scm-exp.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
        $(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
        $(scm_tags_h)
@@ -2293,7 +2270,7 @@ ser-unix.o: ser-unix.c $(defs_h) $(serial_h) $(ser_unix_h) $(terminal_h) \
 sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
        $(serial_h) $(srec_h) $(arch_utils_h) $(regcache_h) $(gdb_string_h) \
        $(sh_tdep_h)
-sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(symfile_h) \
+sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(objfiles_h) \
        $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) \
        $(inferior_h) $(gdb_string_h) $(arch_utils_h) $(floatformat_h) \
        $(regcache_h) $(doublest_h) $(osabi_h) $(elf_bfd_h) $(solib_svr4_h) \
@@ -2305,8 +2282,8 @@ shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(value_h) \
        $(shnbsd_tdep_h)
 sh-stub.o: sh-stub.c
 sh-tdep.o: sh-tdep.c $(defs_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
-       $(dwarf2_frame_h) $(symtab_h) $(symfile_h) $(gdbtypes_h) $(gdbcmd_h) \
-       $(gdbcore_h) $(value_h) $(dis_asm_h) $(inferior_h) $(gdb_string_h) \
+       $(dwarf2_frame_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) \
+       $(value_h) $(dis_asm_h) $(inferior_h) $(gdb_string_h) \
        $(gdb_assert_h) $(arch_utils_h) $(floatformat_h) $(regcache_h) \
        $(doublest_h) $(osabi_h) $(sh_tdep_h) $(elf_bfd_h) $(solib_svr4_h) \
        $(elf_sh_h) $(gdb_sim_sh_h)
@@ -2317,7 +2294,7 @@ solib-aix5.o: solib-aix5.c $(defs_h) $(gdb_string_h) $(elf_external_h) \
 solib.o: solib.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) $(symfile_h) \
        $(objfiles_h) $(gdbcore_h) $(command_h) $(target_h) $(frame_h) \
        $(gdb_regex_h) $(inferior_h) $(environ_h) $(language_h) $(gdbcmd_h) \
-       $(completer_h) $(filenames_h) $(exec_h) $(solist_h)
+       $(completer_h) $(filenames_h) $(exec_h) $(solist_h) $(readline_h)
 solib-irix.o: solib-irix.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
        $(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) $(solist_h)
 solib-legacy.o: solib-legacy.c $(defs_h) $(gdbcore_h) $(solib_svr4_h)
@@ -2344,7 +2321,7 @@ source.o: source.c $(defs_h) $(symtab_h) $(expression_h) $(language_h) \
        $(command_h) $(source_h) $(gdbcmd_h) $(frame_h) $(value_h) \
        $(gdb_string_h) $(gdb_stat_h) $(gdbcore_h) $(gdb_regex_h) \
        $(symfile_h) $(objfiles_h) $(annotate_h) $(gdbtypes_h) $(linespec_h) \
-       $(filenames_h) $(completer_h) $(ui_out_h)
+       $(filenames_h) $(completer_h) $(ui_out_h) $(readline_h)
 sparc64fbsd-nat.o: sparc64fbsd-nat.c $(defs_h) $(sparc64_tdep_h) \
        $(sparc_nat_h)
 sparc64fbsd-tdep.o: sparc64fbsd-tdep.c $(defs_h) $(frame_h) \
@@ -2364,9 +2341,8 @@ sparc64nbsd-tdep.o: sparc64nbsd-tdep.c $(defs_h) $(frame_h) \
        $(symtab_h) $(solib_svr4_h) $(trad_frame_h) $(gdb_assert_h) \
        $(gdb_string_h) $(sparc64_tdep_h) $(nbsd_tdep_h)
 sparc64obsd-tdep.o: sparc64obsd-tdep.c $(defs_h) $(frame_h) \
-       $(frame_unwind_h) $(osabi_h) $(regset_h) $(symtab_h) \
-       $(solib_svr4_h) $(trad_frame_h) $(gdb_assert_h) \
-       $(sparc64_tdep_h) $(nbsd_tdep_h)
+       $(frame_unwind_h) $(osabi_h) $(regset_h) $(symtab_h) $(solib_svr4_h) \
+       $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) $(nbsd_tdep_h)
 sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \
        $(frame_unwind_h) $(gdbarch_h) $(symtab_h) $(objfiles_h) $(osabi_h) \
        $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h)
@@ -2379,13 +2355,17 @@ sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
        $(frame_unwind_h) $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) \
        $(solib_svr4_h) $(symtab_h) $(trad_frame_h) $(gdb_assert_h) \
        $(gdb_string_h) $(sparc_tdep_h)
-sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
-       $(gdb_string_h) $(gdb_wait_h) $(sparc_tdep_h) $(sparc_nat_h)
+sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \
+       $(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) $(sparc_tdep_h) \
+       $(sparc_nat_h)
 sparcnbsd-nat.o: sparcnbsd-nat.c $(defs_h) $(sparc_tdep_h) $(sparc_nat_h)
 sparcnbsd-tdep.o: sparcnbsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
        $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \
        $(solib_svr4_h) $(symtab_h) $(trad_frame_h) $(gdb_assert_h) \
        $(gdb_string_h) $(sparc_tdep_h) $(nbsd_tdep_h)
+sparcobsd-tdep.o: sparcobsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \
+       $(frame_unwind_h) $(osabi_h) $(solib_svr4_h) $(symtab_h) \
+       $(trad_frame_h) $(gdb_assert_h) $(sparc_tdep_h) $(nbsd_tdep_h)
 sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \
        $(sparc_tdep_h) $(sparc64_tdep_h)
 sparc-sol2-tdep.o: sparc-sol2-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
@@ -2419,8 +2399,8 @@ symfile.o: symfile.c $(defs_h) $(bfdlink_h) $(symtab_h) $(gdbtypes_h) \
        $(objfiles_h) $(source_h) $(gdbcmd_h) $(breakpoint_h) $(language_h) \
        $(complaints_h) $(demangle_h) $(inferior_h) $(filenames_h) \
        $(gdb_stabs_h) $(gdb_obstack_h) $(completer_h) $(bcache_h) \
-       $(hashtab_h) $(gdb_assert_h) $(block_h) $(gdb_string_h) \
-       $(gdb_stat_h)
+       $(hashtab_h) $(readline_h) $(gdb_assert_h) $(block_h) \
+       $(gdb_string_h) $(gdb_stat_h)
 symmisc.o: symmisc.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(bfd_h) \
        $(symfile_h) $(objfiles_h) $(breakpoint_h) $(command_h) \
        $(gdb_obstack_h) $(language_h) $(bcache_h) $(block_h) $(gdb_regex_h) \
@@ -2445,13 +2425,14 @@ top.o: top.c $(defs_h) $(gdbcmd_h) $(call_cmds_h) $(cli_cmds_h) \
        $(inferior_h) $(target_h) $(breakpoint_h) $(gdbtypes_h) \
        $(expression_h) $(value_h) $(language_h) $(terminal_h) $(annotate_h) \
        $(completer_h) $(top_h) $(version_h) $(serial_h) $(doublest_h) \
-       $(gdb_assert_h) $(event_top_h) $(gdb_string_h) $(gdb_stat_h) \
-       $(ui_out_h) $(cli_out_h)
+       $(gdb_assert_h) $(readline_h) $(readline_history_h) $(event_top_h) \
+       $(gdb_string_h) $(gdb_stat_h) $(ui_out_h) $(cli_out_h)
 tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(gdbtypes_h) \
        $(expression_h) $(gdbcmd_h) $(value_h) $(target_h) $(language_h) \
        $(gdb_string_h) $(inferior_h) $(tracepoint_h) $(remote_h) \
        $(linespec_h) $(regcache_h) $(completer_h) $(gdb_events_h) \
-       $(block_h) $(dictionary_h) $(ax_h) $(ax_gdb_h)
+       $(block_h) $(dictionary_h) $(ax_h) $(ax_gdb_h) $(readline_h) \
+       $(readline_history_h)
 trad-frame.o: trad-frame.c $(defs_h) $(frame_h) $(trad_frame_h) \
        $(regcache_h)
 typeprint.o: typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
@@ -2464,16 +2445,16 @@ ui-out.o: ui-out.c $(defs_h) $(gdb_string_h) $(expression_h) $(language_h) \
 user-regs.o: user-regs.c $(defs_h) $(user_regs_h) $(gdbtypes_h) \
        $(gdb_string_h) $(gdb_assert_h) $(frame_h)
 utils.o: utils.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(event_top_h) \
-       $(gdbcmd_h) $(serial_h) $(bfd_h) $(target_h) $(demangle_h) \
+       $(tui_h) $(gdbcmd_h) $(serial_h) $(bfd_h) $(target_h) $(demangle_h) \
        $(expression_h) $(language_h) $(charset_h) $(annotate_h) \
-       $(filenames_h) $(inferior_h)
+       $(filenames_h) $(inferior_h) $(readline_h)
 uw-thread.o: uw-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \
        $(regcache_h) $(gregset_h)
 v850ice.o: v850ice.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \
        $(inferior_h) $(breakpoint_h) $(symfile_h) $(target_h) $(objfiles_h) \
        $(gdbcore_h) $(value_h) $(command_h) $(regcache_h)
 v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
-       $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) $(symfile_h) \
+       $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) $(objfiles_h) \
        $(arch_utils_h) $(regcache_h) $(symtab_h) $(dis_asm_h)
 valarith.o: valarith.c $(defs_h) $(value_h) $(symtab_h) $(gdbtypes_h) \
        $(expression_h) $(target_h) $(language_h) $(gdb_string_h) \
@@ -2505,18 +2486,6 @@ wince.o: wince.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) $(gdbcore_h) \
        $(regcache_h) $(mips_tdep_h)
 wince-stub.o: wince-stub.c $(wince_stub_h)
 wrapper.o: wrapper.c $(defs_h) $(value_h) $(wrapper_h)
-x86-64-linux-nat.o: x86-64-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
-       $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
-       $(gdb_proc_service_h) $(gregset_h) $(x86_64_tdep_h) \
-       $(x86_64_linux_tdep_h) $(i386_linux_tdep_h) $(amd64_nat_h)
-x86-64-linux-tdep.o: x86-64-linux-tdep.c $(defs_h) $(inferior_h) \
-       $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
-       $(x86_64_tdep_h) $(x86_64_linux_tdep_h)
-x86-64-tdep.o: x86-64-tdep.c $(defs_h) $(arch_utils_h) $(block_h) \
-       $(dummy_frame_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
-       $(inferior_h) $(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(regcache_h) \
-       $(regset_h) $(symfile_h) $(gdb_assert_h) $(x86_64_tdep_h) \
-       $(i387_tdep_h)
 xcoffread.o: xcoffread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(gdb_stat_h) \
        $(coff_internal_h) $(libcoff_h) $(coff_xcoff_h) $(libxcoff_h) \
        $(coff_rs6000_h) $(symtab_h) $(gdbtypes_h) $(symfile_h) \
@@ -2526,8 +2495,8 @@ xcoffsolib.o: xcoffsolib.c $(defs_h) $(bfd_h) $(xcoffsolib_h) $(inferior_h) \
        $(gdbcmd_h) $(symfile_h) $(frame_h) $(gdb_regex_h)
 xmodem.o: xmodem.c $(defs_h) $(serial_h) $(target_h) $(xmodem_h)
 xstormy16-tdep.o: xstormy16-tdep.c $(defs_h) $(value_h) $(inferior_h) \
-       $(symfile_h) $(arch_utils_h) $(regcache_h) $(gdbcore_h) \
-       $(objfiles_h) $(dis_asm_h)
+       $(arch_utils_h) $(regcache_h) $(gdbcore_h) $(objfiles_h) \
+       $(dis_asm_h)
 
 #
 # gdb/cli/ dependencies
@@ -2535,20 +2504,21 @@ xstormy16-tdep.o: xstormy16-tdep.c $(defs_h) $(value_h) $(inferior_h) \
 # Need to explicitly specify the compile rule as make will do nothing
 # or try to compile the object file into the sub-directory.
 
-cli-cmds.o: $(srcdir)/cli/cli-cmds.c $(defs_h) $(completer_h) $(target_h) \
-       $(gdb_wait_h) $(gdb_regex_h) $(gdb_string_h) $(gdb_vfork_h) \
-       $(linespec_h) $(expression_h) $(frame_h) $(value_h) $(language_h) \
-       $(filenames_h) $(objfiles_h) $(source_h) $(disasm_h) $(ui_out_h) \
-       $(top_h) $(cli_decode_h) $(cli_script_h) $(cli_setshow_h) \
-       $(cli_cmds_h)
+cli-cmds.o: $(srcdir)/cli/cli-cmds.c $(defs_h) $(readline_h) \
+       $(readline_tilde_h) $(completer_h) $(target_h) $(gdb_wait_h) \
+       $(gdb_regex_h) $(gdb_string_h) $(gdb_vfork_h) $(linespec_h) \
+       $(expression_h) $(frame_h) $(value_h) $(language_h) $(filenames_h) \
+       $(objfiles_h) $(source_h) $(disasm_h) $(ui_out_h) $(top_h) \
+       $(cli_decode_h) $(cli_script_h) $(cli_setshow_h) $(cli_cmds_h) \
+       $(tui_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c
 cli-decode.o: $(srcdir)/cli/cli-decode.c $(defs_h) $(symtab_h) \
        $(gdb_regex_h) $(gdb_string_h) $(ui_out_h) $(cli_cmds_h) \
-       $(cli_decode_h) $(gdb_assert_h)
+       $(cli_decode_h) $(tui_h) $(gdb_assert_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c
 cli-dump.o: $(srcdir)/cli/cli-dump.c $(defs_h) $(gdb_string_h) \
        $(cli_decode_h) $(cli_cmds_h) $(value_h) $(completer_h) \
-       $(cli_dump_h) $(gdb_assert_h) $(target_h)
+       $(cli_dump_h) $(gdb_assert_h) $(target_h) $(readline_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-dump.c
 cli-interp.o: $(srcdir)/cli/cli-interp.c $(defs_h) $(interps_h) $(wrapper_h) \
        $(event_top_h) $(ui_out_h) $(cli_out_h) $(top_h) $(gdb_string_h)
@@ -2560,8 +2530,8 @@ cli-script.o: $(srcdir)/cli/cli-script.c $(defs_h) $(value_h) $(language_h) \
        $(ui_out_h) $(gdb_string_h) $(top_h) $(cli_cmds_h) $(cli_decode_h) \
        $(cli_script_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-script.c
-cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(defs_h) $(value_h) \
-       $(gdb_string_h) $(ui_out_h) $(cli_decode_h) $(cli_cmds_h) \
+cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(defs_h) $(readline_tilde_h) \
+       $(value_h) $(gdb_string_h) $(ui_out_h) $(cli_decode_h) $(cli_cmds_h) \
        $(cli_setshow_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-setshow.c
 cli-utils.o: $(srcdir)/cli/cli-utils.c $(defs_h) $(cli_utils_h)
@@ -2620,11 +2590,11 @@ clean-gdbtk:
        rm -f insight$(EXEEXT)
 
 # Removing the old gdb first works better if it is running, at least on SunOS.
-insight$(EXEEXT): gdbtk-main.o main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) \
+insight$(EXEEXT): gdbtk-main.o libgdb.a $(ADD_DEPS) \
                $(CDEPS) $(TDEPLIBS)
        rm -f insight$(EXEEXT)
        $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
-               -o insight$(EXEEXT) gdbtk-main.o main.o $(CONFIG_OBS) libgdb.a \
+               -o insight$(EXEEXT) gdbtk-main.o libgdb.a \
                $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
 
 gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico
@@ -2634,7 +2604,7 @@ gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
        $(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
        $(symtab_h) $(inferior_h) $(command_h) \
        $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
-       $(tracepoint_h) $(top_h) 
+       $(tracepoint_h) $(top_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
         $(ITK_CFLAGS)  \
        $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
@@ -2743,7 +2713,7 @@ mi-cmds.o: $(srcdir)/mi/mi-cmds.c $(defs_h) $(top_h) $(mi_cmds_h) \
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmds.c
 mi-cmd-stack.o: $(srcdir)/mi/mi-cmd-stack.c $(defs_h) $(target_h) $(frame_h) \
        $(value_h) $(mi_cmds_h) $(ui_out_h) $(symtab_h) $(block_h) \
-       $(stack_h) $(dictionary_h)
+       $(stack_h) $(dictionary_h) $(gdb_string_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-stack.c
 mi-cmd-var.o: $(srcdir)/mi/mi-cmd-var.c $(defs_h) $(mi_cmds_h) $(ui_out_h) \
        $(mi_out_h) $(varobj_h) $(value_h) $(gdb_string_h)
@@ -2805,37 +2775,33 @@ signals.o: $(srcdir)/signals/signals.c $(server_h) $(defs_h) $(target_h) \
 # Need to explicitly specify the compile rule as make will do nothing
 # or try to compile the object file into the sub-directory.
 
-tuiSourceWin.o: $(srcdir)/tui/tuiSourceWin.c $(defs_h) $(symtab_h) \
-       $(frame_h) $(breakpoint_h) $(value_h) $(source_h) $(tui_h) \
-       $(tuiData_h) $(tuiStack_h) $(tuiWin_h) $(tuiGeneralWin_h) \
-       $(tuiSourceWin_h) $(tuiSource_h) $(tuiDisassem_h)
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiSourceWin.c
-tui.o: $(srcdir)/tui/tui.c $(defs_h) $(gdbcmd_h) $(tui_h) $(tui_data_h) \
-       $(tui_layout_h) $(tui_io_h) $(tui_regs_h) $(tui_stack_h) \
-       $(tui_win_h) $(tui_winsource_h) $(tui_windata_h) $(readline_h) \
+tui.o: $(srcdir)/tui/tui.c $(defs_h) $(gdbcmd_h) $(tui_h) $(tui_hooks_h) \
+       $(tui_data_h) $(tui_layout_h) $(tui_io_h) $(tui_regs_h) \
+       $(tui_stack_h) $(tui_win_h) $(tui_winsource_h) $(tui_windata_h) \
        $(target_h) $(frame_h) $(breakpoint_h) $(inferior_h) $(symtab_h) \
-       $(source_h)
+       $(source_h) $(gdb_curses_h) $(readline_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui.c
 tui-command.o: $(srcdir)/tui/tui-command.c $(defs_h) $(tui_h) $(tui_data_h) \
-       $(tui_win_h) $(tui_io_h)
+       $(tui_win_h) $(tui_io_h) $(gdb_curses_h) $(gdb_string_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-command.c
 tui-data.o: $(srcdir)/tui/tui-data.c $(defs_h) $(symtab_h) $(tui_h) \
-       $(tui_data_h) $(tui_wingeneral_h)
+       $(tui_data_h) $(tui_wingeneral_h) $(gdb_string_h) $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-data.c
 tui-disasm.o: $(srcdir)/tui/tui-disasm.c $(defs_h) $(symtab_h) \
        $(breakpoint_h) $(frame_h) $(value_h) $(source_h) $(disasm_h) \
-       $(tui_h) $(tui_data_h) $(tui_win_h) $(tui_layout_h) \
-       $(tui_winsource_h) $(tui_stack_h) $(tui_file_h)
+       $(gdb_string_h) $(tui_h) $(tui_data_h) $(tui_win_h) $(tui_layout_h) \
+       $(tui_winsource_h) $(tui_stack_h) $(tui_file_h) $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-disasm.c
 tui-file.o: $(srcdir)/tui/tui-file.c $(defs_h) $(ui_file_h) $(tui_file_h) \
-       $(tui_io_h) $(tui_h)
+       $(tui_io_h) $(tui_h) $(gdb_string_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-file.c
 tui-hooks.o: $(srcdir)/tui/tui-hooks.c $(defs_h) $(symtab_h) $(inferior_h) \
        $(command_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) \
        $(gdbcore_h) $(event_loop_h) $(event_top_h) $(frame_h) \
-       $(breakpoint_h) $(gdb_events_h) $(ui_out_h) $(top_h) $(tui_h) \
-       $(tui_data_h) $(tui_layout_h) $(tui_io_h) $(tui_regs_h) $(tui_win_h) \
-       $(tui_stack_h) $(tui_windata_h) $(tui_winsource_h)
+       $(breakpoint_h) $(gdb_events_h) $(ui_out_h) $(top_h) $(readline_h) \
+       $(tui_h) $(tui_hooks_h) $(tui_data_h) $(tui_layout_h) $(tui_io_h) \
+       $(tui_regs_h) $(tui_win_h) $(tui_stack_h) $(tui_windata_h) \
+       $(tui_winsource_h) $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-hooks.c
 tui-interp.o: $(srcdir)/tui/tui-interp.c $(defs_h) $(interps_h) $(top_h) \
        $(event_top_h) $(event_loop_h) $(ui_out_h) $(cli_out_h) \
@@ -2844,46 +2810,54 @@ tui-interp.o: $(srcdir)/tui/tui-interp.c $(defs_h) $(interps_h) $(top_h) \
 tui-io.o: $(srcdir)/tui/tui-io.c $(defs_h) $(terminal_h) $(target_h) \
        $(event_loop_h) $(event_top_h) $(command_h) $(top_h) $(readline_h) \
        $(tui_h) $(tui_data_h) $(tui_io_h) $(tui_command_h) $(tui_win_h) \
-       $(tui_wingeneral_h) $(tui_file_h) $(ui_out_h) $(cli_out_h)
+       $(tui_wingeneral_h) $(tui_file_h) $(ui_out_h) $(cli_out_h) \
+       $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-io.c
 tui-layout.o: $(srcdir)/tui/tui-layout.c $(defs_h) $(command_h) $(symtab_h) \
        $(frame_h) $(source_h) $(tui_h) $(tui_data_h) $(tui_windata_h) \
        $(tui_wingeneral_h) $(tui_stack_h) $(tui_regs_h) $(tui_win_h) \
-       $(tui_winsource_h) $(tui_disasm_h)
+       $(tui_winsource_h) $(tui_disasm_h) $(gdb_string_h) $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-layout.c
+tui-main.o: $(srcdir)/tui/tui-main.c $(defs_h) $(main_h) $(gdb_string_h) \
+       $(interps_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-main.c
 tui-out.o: $(srcdir)/tui/tui-out.c $(defs_h) $(ui_out_h) $(tui_h) \
        $(gdb_string_h) $(gdb_assert_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-out.c
 tui-regs.o: $(srcdir)/tui/tui-regs.c $(defs_h) $(tui_h) $(tui_data_h) \
        $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(frame_h) $(regcache_h) \
-       $(inferior_h) $(target_h) $(tui_layout_h) $(tui_win_h) \
-       $(tui_windata_h) $(tui_wingeneral_h) $(tui_file_h)
+       $(inferior_h) $(target_h) $(gdb_string_h) $(tui_layout_h) \
+       $(tui_win_h) $(tui_windata_h) $(tui_wingeneral_h) $(tui_file_h) \
+       $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-regs.c
 tui-source.o: $(srcdir)/tui/tui-source.c $(defs_h) $(symtab_h) $(frame_h) \
        $(breakpoint_h) $(source_h) $(symtab_h) $(tui_h) $(tui_data_h) \
-       $(tui_stack_h) $(tui_winsource_h) $(tui_source_h)
+       $(tui_stack_h) $(tui_winsource_h) $(tui_source_h) $(gdb_string_h) \
+       $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-source.c
 tui-stack.o: $(srcdir)/tui/tui-stack.c $(defs_h) $(symtab_h) $(breakpoint_h) \
-       $(frame_h) $(command_h) $(inferior_h) $(target_h) $(top_h) $(tui_h) \
-       $(tui_data_h) $(tui_stack_h) $(tui_wingeneral_h) $(tui_source_h) \
-       $(tui_winsource_h) $(tui_file_h)
+       $(frame_h) $(command_h) $(inferior_h) $(target_h) $(top_h) \
+       $(gdb_string_h) $(tui_h) $(tui_data_h) $(tui_stack_h) \
+       $(tui_wingeneral_h) $(tui_source_h) $(tui_winsource_h) $(tui_file_h) \
+       $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-stack.c
 tui-win.o: $(srcdir)/tui/tui-win.c $(defs_h) $(command_h) $(symtab_h) \
        $(breakpoint_h) $(frame_h) $(cli_cmds_h) $(top_h) $(source_h) \
        $(tui_h) $(tui_data_h) $(tui_wingeneral_h) $(tui_stack_h) \
        $(tui_regs_h) $(tui_disasm_h) $(tui_source_h) $(tui_winsource_h) \
-       $(tui_windata_h)
+       $(tui_windata_h) $(gdb_curses_h) $(gdb_string_h) $(readline_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-win.c
 tui-windata.o: $(srcdir)/tui/tui-windata.c $(defs_h) $(tui_h) $(tui_data_h) \
-       $(tui_wingeneral_h) $(tui_regs_h)
+       $(tui_wingeneral_h) $(tui_regs_h) $(gdb_string_h) $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-windata.c
 tui-wingeneral.o: $(srcdir)/tui/tui-wingeneral.c $(defs_h) $(tui_h) \
-       $(tui_data_h) $(tui_wingeneral_h) $(tui_win_h)
+       $(tui_data_h) $(tui_wingeneral_h) $(tui_win_h) $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-wingeneral.c
 tui-winsource.o: $(srcdir)/tui/tui-winsource.c $(defs_h) $(symtab_h) \
        $(frame_h) $(breakpoint_h) $(value_h) $(source_h) $(tui_h) \
        $(tui_data_h) $(tui_stack_h) $(tui_win_h) $(tui_wingeneral_h) \
-       $(tui_winsource_h) $(tui_source_h) $(tui_disasm_h)
+       $(tui_winsource_h) $(tui_source_h) $(tui_disasm_h) $(gdb_string_h) \
+       $(gdb_curses_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-winsource.c
 
 #
This page took 0.044281 seconds and 4 git commands to generate.