diff options
author | Yao Qi <yao@codesourcery.com> | 2012-04-19 05:58:52 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-04-19 05:58:52 +0000 |
commit | aad9eab9f2f44b585531edd4f403ad2da632e44a (patch) | |
tree | 775eb8bb5c25ce6504ecf21df6498bb56cca7b0c /gdb/gdbserver | |
parent | 3e10640f3c843093ec9a8e95a9cd5c1b81dc156f (diff) | |
download | gdb-aad9eab9f2f44b585531edd4f403ad2da632e44a.zip gdb-aad9eab9f2f44b585531edd4f403ad2da632e44a.tar.gz gdb-aad9eab9f2f44b585531edd4f403ad2da632e44a.tar.bz2 |
gdb:
* Makefile.in (SFILES): Add common/vec.c and remove vec.c.
(vec.o): New rule.
* vec.c: Move it ...
* common/vec.c: ... here.
* vec.h: Move it ...
* common/vec.h: ... here.
gdb/gdbserver:
* Makefile.in (SFILES): Add common/vec.c.
(OBS): Add vec.o.
(vec.o): New rule.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbserver/Makefile.in | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index d238062..372c556 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,11 @@ 2012-04-19 Yao Qi <yao@codesourcery.com> + * Makefile.in (SFILES): Add common/vec.c. + (OBS): Add vec.o. + (vec.o): New rule. + +2012-04-19 Yao Qi <yao@codesourcery.com> + * remote-utils.c (prepare_resume_reply): Replace with macro target_core_of_thread. * server.c (handle_qxfer_threads_proper): Likewise. diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 6225e65..7d29f85 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -143,6 +143,7 @@ SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c $(srcdir)/dll.c \ $(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \ $(srcdir)/win32-low.c $(srcdir)/wincecompat.c \ $(srcdir)/hostio.c $(srcdir)/hostio-errno.c \ + $(srcdir)/common/vec.c \ $(srcdir)/common/common-utils.c $(srcdir)/common/xml-utils.c \ $(srcdir)/common/linux-osdata.c $(srcdir)/common/ptid.c \ $(srcdir)/common/buffer.c @@ -155,7 +156,7 @@ SOURCES = $(SFILES) TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS} OBS = agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o target.o \ - utils.o version.o \ + utils.o version.o vec.o \ mem-break.o hostio.o event-loop.o tracepoint.o \ xml-utils.o common-utils.o ptid.o buffer.o \ dll.o \ @@ -386,6 +387,7 @@ ptid_h = $(srcdir)/../common/ptid.h ax_h = $(srcdir)/ax.h agent_h = $(srcdir)/../common/agent.h linux_osdata_h = $(srcdir)/../common/linux-osdata.h +vec_h = $(srcdir)/../common/vec.h server_h = $(srcdir)/server.h $(regcache_h) config.h $(srcdir)/target.h \ $(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h \ $(srcdir)/../common/common-utils.h \ @@ -468,6 +470,9 @@ linux-ptrace.o: ../common/linux-ptrace.c $(server_h) common-utils.o: ../common/common-utils.c $(server_h) $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER +vec.o: ../common/vec.c $(vec_h) + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + xml-utils.o: ../common/xml-utils.c $(server_h) $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |