diff options
author | Doug Evans <dje@google.com> | 2012-07-18 23:37:58 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-07-18 23:37:58 +0000 |
commit | 48faced0e5066aaa68f1e84766760e5d7de8b3c9 (patch) | |
tree | 6d61fdce8d6cf153f5a5521c71db1fb6116ce5c9 /gdb/Makefile.in | |
parent | 66f1999bd8985be71e30d4cc75ce700a5bceefd0 (diff) | |
download | gdb-48faced0e5066aaa68f1e84766760e5d7de8b3c9.zip gdb-48faced0e5066aaa68f1e84766760e5d7de8b3c9.tar.gz gdb-48faced0e5066aaa68f1e84766760e5d7de8b3c9.tar.bz2 |
* common/gdb_vecs.h: Moved here from ./gdb_vecs.h.
* common/gdb_vecs.c: New file, contents from utils.c.
* common/host-defs.h: New file, contents from defs.h.
* utils.h: New file, contents from defs.h.
* defs.h: Move all declarations of objects defined in utils.c
to utils.h (except QUIT() and related).
#include "utils.h", "host-defs.h".
* probe.h (probe_p): Move here from gdb_vecs.h.
* symfile.c: #include "probe.h" instead of "gdb_vecs.h".
* utils.c (free_char_ptr_vec): Moved to common/gdb_vecs.c.
(dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): Ditto.
* Makefile.in (SFILES): Add common/gdb_vecs.c.
(HFILES_NO_SRCDIR): Add common/gdb_vecs.h, common/host-defs.h, utils.h.
(COMMON_OBS): Add gdb_vecs.o.
(gdb_vecs.o): New rule.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index a257d9a..1c476ad 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -744,7 +744,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \ xml-syscall.c \ annotate.c common/signals.c copying.c dfp.c gdb.c inf-child.c \ regset.c sol-thread.c windows-termcap.c \ - common/common-utils.c common/xml-utils.c \ + common/gdb_vecs.c common/common-utils.c common/xml-utils.c \ common/ptid.c common/buffer.c gdb-dlfcn.c common/agent.c \ common/format.c @@ -765,8 +765,8 @@ osf-share/cma_errors.h osf-share/cma_tcb_defs.h osf-share/cma_attr.h \ osf-share/cma_stack_int.h osf-share/cma_init.h \ osf-share/cma_deb_core.h osf-share/AT386/cma_thread_io.h \ osf-share/cma_sched.h \ -common/gdb_signals.h common/gdb_thread_db.h common/i386-xstate.h \ -common/linux-ptrace.h \ +common/gdb_signals.h common/gdb_thread_db.h common/gdb_vecs.h \ +common/i386-xstate.h common/linux-ptrace.h \ proc-utils.h arm-tdep.h ax-gdb.h ppcnbsd-tdep.h \ cli-out.h gdb_expat.h breakpoint.h infcall.h obsd-tdep.h \ exec.h m32r-tdep.h osabi.h gdbcore.h solib-som.h amd64bsd-nat.h \ @@ -828,7 +828,7 @@ gnulib/import/extra/snippet/arg-nonnull.h gnulib/import/extra/snippet/c++defs.h gnulib/import/extra/snippet/warn-on-use.h \ gnulib/import/stddef.in.h gnulib/import/inttypes.in.h inline-frame.h skip.h \ common/common-utils.h common/xml-utils.h common/buffer.h common/ptid.h \ -common/format.h \ +common/format.h common/host-defs.h utils.h \ common/linux-osdata.h gdb-dlfcn.h auto-load.h probe.h stap-probe.h gdb_bfd.h # Header files that already have srcdir in them, or which are in objdir. @@ -917,7 +917,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \ xml-support.o xml-syscall.o xml-utils.o \ target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o \ inferior.o osdata.o gdb_usleep.o record.o gcore.o \ - jit.o progspace.o skip.o probe.o \ + gdb_vecs.o jit.o progspace.o skip.o probe.o \ common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o \ format.o @@ -1907,6 +1907,10 @@ common-utils.o: ${srcdir}/common/common-utils.c $(COMPILE) $(srcdir)/common/common-utils.c $(POSTCOMPILE) +gdb_vecs.o: ${srcdir}/common/gdb_vecs.c + $(COMPILE) $(srcdir)/common/gdb_vecs.c + $(POSTCOMPILE) + xml-utils.o: ${srcdir}/common/xml-utils.c $(COMPILE) $(srcdir)/common/xml-utils.c $(POSTCOMPILE) |