X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FMakefile.in;h=691dc49dae023840d8b4682501e11a737f1c2f8f;hb=d75b5104df76c05fc85594425d35c30959eec84d;hp=449e0b57b49073e535323e61f252385a6da6d157;hpb=ecb9ce7eca706307dd5df0ade29a2444f55ce080;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 449e0b57b4..691dc49dae 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -359,7 +359,6 @@ CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \ ADD_FILES = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) ADD_DEPS = $(REGEX) $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) -VERSION = 5.0 DIST=gdb LINT=/usr/5bin/lint @@ -542,7 +541,7 @@ SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \ tui/tui-file.h tui/tui-file.c \ ui-file.h ui-file.c \ frame.c \ - gnu-v2-abi.c hpacc-abi.c cp-abi.c + gnu-v2-abi.c gnu-v3-abi.c hpacc-abi.c cp-abi.c LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c @@ -560,7 +559,7 @@ demangle_h = $(INCLUDE_DIR)/demangle.h obstack_h = $(INCLUDE_DIR)/obstack.h dcache_h = dcache.h -remote_utils_h = $(dcache_h) serial.h target.h remote-utils.h $(remote-sim_h) +remote_utils_h = remote-utils.h $(target_h) readline_headers = \ @@ -589,7 +588,7 @@ value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h) breakpoint_h = breakpoint.h $(frame_h) $(value_h) command_h = command.h -gdbcmd_h = gdbcmd.h $(command_h) +gdbcmd_h = gdbcmd.h $(command_h) $(ui_out_h) call_cmds_h = call-cmds.h regcache_h = regcache.h @@ -611,8 +610,9 @@ remote_h = remote.h version_h = version.h ui_out_h = ui-out.h cli_out_h = cli-out.h -arch_utils_h = arch-utils.h +arch_utils_h = arch-utils.h gdb_string_h = gdb_string.h +completer_h = completer.h cli_decode_h = $(srcdir)/cli/cli-decode.h cli_cmds_h = $(srcdir)/cli/cli-cmds.h @@ -696,7 +696,7 @@ COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o regcache.o \ nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o \ ui-file.o tui-file.o \ frame.o \ - gnu-v2-abi.o hpacc-abi.o cp-abi.o + gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o OBS = $(COMMON_OBS) $(ANNOTATE_OBS) @@ -933,7 +933,7 @@ tags: TAGS clean mostlyclean: $(CONFIG_CLEAN) @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do - rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp init.l-tmp + 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) @@ -1014,12 +1014,13 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \ < $(srcdir)/COPYING > $(srcdir)/copying.tmp mv $(srcdir)/copying.tmp $(srcdir)/copying.c -version.c: Makefile - rm -f version.c - echo '#include "version.h"' >> version.c - echo 'const char version[] = "$(VERSION)";' >> version.c - echo 'const char host_name[] = "$(host_alias)";' >> version.c - echo 'const char target_name[] = "$(target_alias)";' >> version.c +version.c: Makefile version.in + rm -f version.c-tmp version.c + echo '#include "version.h"' >> version.c-tmp + echo 'const char version[] = "'"`head -1 ${srcdir}/version.in`"'";' >> version.c-tmp + echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp + echo 'const char target_name[] = "$(target_alias)";' >> version.c-tmp + mv version.c-tmp version.c version.o: version.c $(version_h) # c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist @@ -1150,6 +1151,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \ hp-psymtab-read.c hp-symtab-read.c \ i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c i386-linux-nat.c \ i386aix-nat.c i386m3-nat.c i386v4-nat.c i386ly-tdep.c \ + i386bsd-nat.c i386bsd-tdep.c \ i387-tdep.c \ i386-linux-tdep.c i386-nat.c \ i960-tdep.c \ @@ -1163,7 +1165,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \ mips-tdep.c mipsm3-nat.c mipsv4-nat.c news-xdep.c \ nindy-share/Onindy.c nindy-share/nindy.c \ nindy-share/ttyflush.c nindy-tdep.c \ - ns32k-tdep.c osfsolib.c \ + ns32k-tdep.c solib-osf.c \ somread.c somsolib.c $(HPREAD_SOURCE) \ ppc-linux-nat.c ppc-linux-tdep.c \ procfs.c \ @@ -1173,7 +1175,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \ remote-st.c remote-utils.c dcache.c \ remote-udi.c remote-vx.c remote-vx29k.c \ rs6000-nat.c rs6000-tdep.c \ - ser-go32.c ser-pipe.c ser-ocd.c ser-tcp.c \ + ser-go32.c ser-pipe.c ser-tcp.c \ sh-tdep.c solib.c sparc-nat.c \ sparc-tdep.c sparcl-tdep.c sun3-nat.c \ symm-tdep.c symm-nat.c \ @@ -1222,7 +1224,7 @@ blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \ breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ $(inferior_h) language.h target.h gdbthread.h $(gdb_string_h) \ - gdb-events.h linespec.h + gdb-events.h linespec.h $(ui_out_h) $(completer_h) buildsym.o: buildsym.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ objfiles.h symfile.h $(symtab_h) $(gdb_string_h) @@ -1282,7 +1284,7 @@ core-regset.o: core-regset.c $(command_h) $(defs_h) $(gdbcore_h) \ $(inferior_h) target.h $(gdb_string_h) corefile.o: corefile.c $(dis-asm_h) $(defs_h) $(gdbcmd_h) $(gdbcore_h) \ - $(inferior_h) target.h language.h $(gdb_string_h) completer.h \ + $(inferior_h) target.h language.h $(gdb_string_h) $(completer_h) \ symfile.h corelow.o: corelow.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ @@ -1341,7 +1343,7 @@ inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(inf_loop_h) $(event_loop_h) \ $(event_top_h) exec.o: exec.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ - target.h language.h $(gdb_string_h) completer.h + target.h language.h $(gdb_string_h) $(completer_h) expprint.o: expprint.c $(defs_h) $(expression_h) $(gdbtypes_h) \ language.h parser-defs.h $(symtab_h) $(value_h) @@ -1475,7 +1477,7 @@ v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(obstack_h) \ tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \ $(gdbtypes_h) $(expression_h) $(gdbcmd_h) $(value_h) target.h \ language.h $(gdb_string_h) $(readline_headers) $(remote_h) linespec.h \ - $(regcache_h) + $(regcache_h) $(completer_h) gdbarch.o: gdbarch.c $(defs_h) $(bfd_h) $(gdbcmd_h) @@ -1492,9 +1494,11 @@ go32-nat.o: go32-nat.c $(defs_h) $(inferior_h) gdb_wait.h $(gdbcore_h) \ gnu-nat.o: process_reply_S.h exc_request_S.h notify_S.h msg_reply_S.h \ exc_request_U.h msg_U.h gnu-nat.h -gnu-v2-abi.o: gnu-v2-abi.c $(defs_h) $(cp_abi_h) $(gdb_string_h) $(symtab_h) \ - $(gdbtypes_h) $(value_h) +gnu-v2-abi.o: gnu-v2-abi.c $(defs_h) $(gdb_string_h) $(symtab_h) \ + $(gdbtypes_h) $(value_h) $(demangle_h) $(cp_abi_h) +gnu-v3-abi.o: gnu-v2-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(demangle_h) + h8300-tdep.o: h8300-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(regcache_h) h8500-tdep.o: h8500-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) \ @@ -1528,6 +1532,11 @@ i386aix-nat.o: i386aix-nat.c $(defs_h) $(frame_h) $(inferior_h) \ i386b-nat.o: i386b-nat.c $(defs_h) $(regcache_h) +i386bsd-tdep.o: i386bsd-tdep.c $(defs_h) $(frame_h) $(gdb_core_h) \ + $(regcache_h) + +i386bsd-nat.o: i386bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) + i386ly-nat.o: i386ly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(inferior_h) target.h $(gdbcore_h) \ @@ -1567,7 +1576,8 @@ ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) symfile.h $(gdbcore_h) \ $(INCLUDE_DIR)/elf/common.h $(regcache_h) infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \ - $(inferior_h) target.h language.h symfile.h $(gdb_string_h) + $(inferior_h) target.h language.h symfile.h $(gdb_string_h) \ + $(ui_out_h) $(completer_h) inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \ target.h terminal.h gdbthread.h $(gdb_string_h) @@ -1650,7 +1660,7 @@ m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) $(regcache_h) mac-nat.o: mac-nat.c $(defs_h) $(gdb_string_h) $(regcache_h) main.o: main.c top.h $(defs_h) $(gdb_string_h) $(event_loop_h) \ - symfile.h $(gdbcore_h) $(srcdir)/tui/tui-file.h + symfile.h $(gdbcore_h) $(srcdir)/tui/tui-file.h $(ui_out_h) maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \ $(expression_h) objfiles.h symfile.h @@ -1659,7 +1669,7 @@ mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(gdbcmd_h) $(value_h) \ $(symtab_h) $(symfile_h) $(gdbcore_h) $(inferior_h) mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) target.h monitor.h \ - $(gdb_string_h) $(regcache_h) + $(gdb_string_h) $(regcache_h) serial.h mdebugread.o: mdebugread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ $(expression_h) gdb-stabs.h $(gdbcore_h) $(gdbtypes_h) language.h \ @@ -1679,7 +1689,7 @@ os9kread.o: os9kread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \ mem-break.o: mem-break.c $(defs_h) minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ - $(symtab_h) $(gdb_string_h) + $(symtab_h) $(gdb_string_h) $(value_h) $(cp_abi_h) mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(regcache_h) @@ -1728,8 +1738,8 @@ ns32k-tdep.o: ns32k-tdep.c $(bfd_h) $(dis-asm_h) $(defs_h) objfiles.o: objfiles.c $(bfd_h) $(defs_h) objfiles.h symfile.h \ $(symtab_h) $(gdb_string_h) $(breakpoint_h) -osfsolib.o: osfsolib.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ - objfiles.h gnu-regex.h symfile.h target.h language.h $(gdb_string_h) +solib-osf.o: solib-osf.c $(defs_h) $(inferior_h) $(symtab_h) objfiles.h \ + $(symfile_h) $(target_h) $(gdb_string_h) solist.h somread.o: somread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \ gdb-stabs.h objfiles.h symfile.h $(symtab_h) $(gdb_string_h) @@ -1773,7 +1783,8 @@ ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) \ printcmd.o: printcmd.c $(breakpoint_h) $(defs_h) $(expression_h) \ $(gdbcmd_h) $(gdbcore_h) $(gdbtypes_h) language.h objfiles.h \ - symfile.h $(symtab_h) target.h $(gdb_string_h) + symfile.h $(symtab_h) target.h $(gdb_string_h) $(ui_out_h) \ + $(completer_h) # FIXME: Procfs.o gets -Wformat errors because things like pid_t don't # match output format strings. @@ -1781,7 +1792,7 @@ procfs.o: procfs.c $(command_h) $(defs_h) $(gdbcore_h) $(inferior_h) \ target.h $(gdb_string_h) gdbthread.h proc-utils.h $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $< -proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) proc-utils.h +proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) proc-utils.h $(completer_h) proc-events.o: proc-events.c $(defs_h) @@ -1815,7 +1826,7 @@ remote-array.o: remote-array.c $(defs_h) $(gdbcore_h) target.h \ $(version_h) $(regcache_h) remote-rdi.o: remote-rdi.c $(defs_h) $(gdbcore_h) \ - $(inferior_h) $(gdb_string_h) + $(inferior_h) $(gdb_string_h) $(completer_h) rdi-share/libangsd.a: force @dir=rdi-share; \ @@ -1830,17 +1841,12 @@ rdi-share/libangsd.a: force remote-rdp.o: remote-rdp.c $(defs_h) $(gdbcore_h) \ $(inferior_h) $(gdb_string_h) -remote-bug.o: remote-bug.c $(defs_h) $(gdbcore_h) \ +remote-bug.o: remote-bug.c $(defs_h) $(gdbcore_h) serial.h \ $(inferior_h) target.h terminal.h $(remote_utils_h) $(gdb_string_h) \ $(regcache_h) -# FIXME: For the SH target, remote-e7000 contains numerous -Wformat -# warnings. Since the fixes involve modifications to the code that -# handles the SH remote protocol the changes need to be tested against -# an SH board before they can be committed. cagney 1999-09-01. remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) target.h \ serial.h $(gdb_string_h) $(regcache_h) - $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $< remote-eb.o: remote-eb.c $(srcdir)/config/a29k/tm-a29k.h \ $(defs_h) $(gdbcore_h) $(inferior_h) symfile.h target.h terminal.h \ @@ -1932,9 +1938,7 @@ scm-valprint.o: $(defs_h) $(value_h) parser-defs.h language.h \ ser-go32.o: ser-go32.c $(defs_h) serial.h -ser-mac.o: ser-mac.c $(defs_h) serial.h - -ser-ocd.o: ser-ocd.c $(defs_h) serial.h $(gdb_string_h) +# OBSOLETE ser-mac.o: ser-mac.c $(defs_h) serial.h ser-pipe.o: ser-pipe.c $(defs_h) serial.h $(gdb_string_h) ser-unix.h @@ -1957,7 +1961,8 @@ 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 + objfiles.h gnu-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 \ @@ -1967,7 +1972,7 @@ 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 + $(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) @@ -1986,7 +1991,7 @@ stabsread.o: stabsread.c $(bfd_h) $(INCLUDE_DIR)/aout/stab.def \ $(gdb_string_h) stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \ - language.h target.h $(gdb_string_h) + language.h target.h $(gdb_string_h) $(ui_out_h) ui-file.o: ui-file.c $(defs_h) ui-file.h tui-file.o: $(srcdir)/tui/tui-file.c $(defs_h) $(srcdir)/tui/tui-file.h @@ -2003,7 +2008,7 @@ sun3-nat.o: sun3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(regcache_h) symfile.o: symfile.c $(breakpoint_h) complaints.h $(defs_h) \ $(expression_h) gdb-stabs.h $(gdbcmd_h) $(gdbcore_h) \ $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) \ - target.h $(gdb_string_h) completer.h + target.h $(gdb_string_h) $(completer_h) symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) @@ -2019,7 +2024,7 @@ symtab.o: symtab.c call-cmds.h $(defs_h) $(expression_h) $(frame_h) \ $(gdb_string_h) linespec.h $(cp_abi_h) linespec.o: linespec.c linespec.h $(defs_h) $(frame_h) $(value_h) \ - objfiles.h symfile.h completer.h $(symtab_h) \ + objfiles.h symfile.h $(completer_h) $(symtab_h) \ $(demangle_h) command.h $(cp_abi_h) tic80-tdep.o: tic80-tdep.c $(defs_h) $(regcache_h) @@ -2027,15 +2032,16 @@ tic80-tdep.o: tic80-tdep.c $(defs_h) $(regcache_h) target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \ objfiles.h symfile.h target.h $(gdb_string_h) $(regcache_h) -thread.o: thread.c $(defs_h) gdbthread.h $(gdbcmd_h) target.h $(regcache_h) +thread.o: thread.c $(defs_h) gdbthread.h $(gdbcmd_h) target.h \ + $(regcache_h) $(ui_out_h) -completer.o: completer.c completer.h $(gdbtypes_h) $(symtab_h) \ +completer.o: completer.c $(completer_h) $(gdbtypes_h) $(symtab_h) \ $(defs_h) $(gdbcmd_h) $(expression_h) $(readline_headers) top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.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) + $(completer_h) $(version_h) $(ui_out_h) typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \ $(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \ @@ -2071,7 +2077,7 @@ vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h) w65-tdep.o : w65-tdep.c $(gdbcore_h) $(regcache_h) win32-nat.o: win32-nat.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \ - $(gdb_string_h) $(regcache_h) + $(gdb_string_h) $(regcache_h) $(completer_h) xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \ vx-share/vxWorks.h vx-share/xdr_ld.h @@ -2143,7 +2149,7 @@ cli-decode.o: $(srcdir)/cli/cli-decode.c $(cli_decode_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) \ + $(cli_script_h) $(cli_setshow_h) top.h $(completer_h) $(defs_h) \ $(target_h) gdb_wait.h gnu-regex.h $(ui_out_h) $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c @@ -2189,7 +2195,7 @@ mi-cmd-disas.o: $(srcdir)/mi/mi-cmd-disas.c $(defs_h) $(mi_cmds_h) \ mi-main.o: $(srcdir)/mi/mi-main.c $(defs_h) $(top_h) $(mi_cmds_h) $(ui_out_h) \ $(mi_console_h) $(mi_getopt_h) $(event_loop_h) $(event_top_h) \ $(mi_getopt_h) $(regcache_h) - $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/mi/mi-main.c + $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-main.c mi-out.o: $(srcdir)/mi/mi-out.c $(defs_h) $(mi_out_h) $(ui_out_h) $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-out.c mi-console.o: $(srcdir)/mi/mi-console.c $(mi_out_h) $(defs_h)