diff options
author | Luis Machado <luisgpm@br.ibm.com> | 2013-07-24 16:20:12 +0000 |
---|---|---|
committer | Luis Machado <luisgpm@br.ibm.com> | 2013-07-24 16:20:12 +0000 |
commit | 3360c0bf75c98188a29b2ea29183a0bdc33b5801 (patch) | |
tree | 0a1144597538d9f9a1b9c4fca782944bbb8c7128 /gdb/Makefile.in | |
parent | 7e8b059be6b6b97b611b034e90f576c1479bdf75 (diff) | |
download | gdb-3360c0bf75c98188a29b2ea29183a0bdc33b5801.zip gdb-3360c0bf75c98188a29b2ea29183a0bdc33b5801.tar.gz gdb-3360c0bf75c98188a29b2ea29183a0bdc33b5801.tar.bz2 |
gdb/
* Makefile.in (SFILES): Add common/target-common.c.
Add common/target-common.h to headers.
(COMMON_OBS): Add target-common.o.
(target-common.o): New target.
* linux-nat.h (resume_kind): Move to common/target-common.h.
* target.c (target_waitstatus_to_string): Move to
common/target-common.c.
* target.h: Include target-common.h.
(target_waitkind): Move to common/target-common.h.
(target_waitstatus): Likewise.
(TARGET_WNOHANG): Likewise.
* common/target-common.c: New file.
* common/target-common.h: New file.
gdb/gdbserver/
* Makefile.in (SFILES): /common/target-common.c.
(OBS): Add target-common.o.
(server_h): Add $(srcdir)/../common/target-common.h.
(target-common.o): New target.
* server.c (queue_stop_reply_callback): Free
status string after use.
* target.c (target_waitstatus_to_string): Remove.
* target.h: Include target-common.h.
(resume_kind): Likewise.
(target_waitkind): Likewise.
(target_waitstatus): Likewise.
(TARGET_WNOHANG): Likewise.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index a51afcb..2d574d4 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -774,7 +774,8 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \ regset.c sol-thread.c windows-termcap.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/format.c common/filestuff.c btrace.c record-btrace.c ctf.c \ + common/target-common.c LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c @@ -853,7 +854,7 @@ 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 +ctf.h common/i386-cpuid.h common/i386-gcc-cpuid.h common/target-common.h # Header files that already have srcdir in them, or which are in objdir. @@ -947,7 +948,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 + format.o registry.o btrace.o record-btrace.o target-common.o TSOBS = inflow.o @@ -2021,6 +2022,10 @@ 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) + # # gdb/tui/ dependencies # |