diff options
author | Luis Machado <luisgpm@br.ibm.com> | 2013-08-19 16:54:11 +0000 |
---|---|---|
committer | Luis Machado <luisgpm@br.ibm.com> | 2013-08-19 16:54:11 +0000 |
commit | 33b60d58316e0ce994c009e1a9bede277538b69e (patch) | |
tree | 62804f3cfed7731f38ee49204e0d99d1a320a452 /gdb/Makefile.in | |
parent | 79ceb7cb739072ff6bc5fd143055e4d5172cf6bd (diff) | |
download | gdb-33b60d58316e0ce994c009e1a9bede277538b69e.zip gdb-33b60d58316e0ce994c009e1a9bede277538b69e.tar.gz gdb-33b60d58316e0ce994c009e1a9bede277538b69e.tar.bz2 |
gdb/
* Makefile.in (SFILES): Remove common/target-common.c and
add target/waitstatus.c.
(HFILES_NO_SRCDIR): Remove common/target-common.h and add
target/resume.h, target/wait.h and target/waitstatus.h.
(COMMON_OBS): Remove target-common.o and add
waitstatus.o.
(target-common.o): Remove.
(waitstatus.o): New target object file.
* common/target-common.c: Move contents to
target/waitstatus.c and remove.
* common/target-common.h: Move contents to other files and
remove.
(enum resume_kind: Move to target/resume.h.
(TARGET_WNOHANG): Move to target/wait.h.
(enum target_waitkind): Move to target/waitstatus.h.
(struct target_waitstatus): Likewise.
* target.h: Do not include target-common.h and
include target/resume.h, target/wait.h and
target/waitstatus.h.
* target/resume.h: New file.
* target/wait.h: New file.
* target/waitstatus.h: New file.
* target/waitstatus.c: New file.
gdb/gdbserver/
* Makefile.in (INCLUDE_CFLAGS): Include -I$(srcdir)/../.
(SFILES): Remove $(srcdir)/common/target-common.c and
add $(srcdir)/target/waitstatus.c.
(OBS): Remove target-common.o and add waitstatus.o.
(server_h): Remove $(srcdir)/../common/target-common.h and
add $(srcdir)/../target/resume.h, $(srcdir)/../target/wait.h
and $(srcdir)/../target/waitstatus.h.
(target-common.o): Remove.
(waitstatus.o): New target object file.
* target.h: Do not include target-common.h and
include target/resume.h, target/wait.h and
target/waitstatus.h.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 9171940..45cddaf 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -775,7 +775,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.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 common/filestuff.c btrace.c record-btrace.c ctf.c \ - common/target-common.c + target/waitstatus.c LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c @@ -854,7 +854,8 @@ common/common-utils.h common/xml-utils.h common/buffer.h common/ptid.h \ common/format.h common/host-defs.h utils.h common/queue.h common/gdb_string.h \ common/linux-osdata.h gdb-dlfcn.h auto-load.h probe.h stap-probe.h \ gdb_bfd.h sparc-ravenscar-thread.h ppc-ravenscar-thread.h common/linux-btrace.h \ -ctf.h common/i386-cpuid.h common/i386-gcc-cpuid.h common/target-common.h +ctf.h common/i386-cpuid.h common/i386-gcc-cpuid.h target/resume.h \ +target/wait.h target/waitstatus.h # Header files that already have srcdir in them, or which are in objdir. @@ -948,7 +949,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \ inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.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 registry.o btrace.o record-btrace.o target-common.o + format.o registry.o btrace.o record-btrace.o waitstatus.o TSOBS = inflow.o @@ -2022,15 +2023,21 @@ linux-btrace.o: ${srcdir}/common/linux-btrace.c $(COMPILE) $(srcdir)/common/linux-btrace.c $(POSTCOMPILE) -target-common.o: ${srcdir}/common/target-common.c - $(COMPILE) $(srcdir)/common/target-common.c - $(POSTCOMPILE) - mips-linux-watch.o: ${srcdir}/common/mips-linux-watch.c $(COMPILE) $(srcdir)/common/mips-linux-watch.c $(POSTCOMPILE) # +# gdb/target/ dependencies +# +# Need to explicitly specify the compile rule as make will do nothing +# or try to compile the object file into the sub-directory. + +waitstatus.o: ${srcdir}/target/waitstatus.c + $(COMPILE) $(srcdir)/target/waitstatus.c + $(POSTCOMPILE) + +# # gdb/tui/ dependencies # # Need to explicitly specify the compile rule as make will do nothing |