diff options
author | Markus Metzger <mmetzger@sourceware.org> | 2012-11-13 15:01:44 +0000 |
---|---|---|
committer | Markus Metzger <mmetzger@sourceware.org> | 2012-11-13 15:01:44 +0000 |
commit | 3ba6ad0f876ad790def1eaa57397c1cf2235cfc7 (patch) | |
tree | 07d2b524186555b5a03ba4cc89273b036165efc8 /gdb | |
parent | 08850b56edd752c3792bfb9bfc59dd9a5577ac2d (diff) | |
download | gdb-3ba6ad0f876ad790def1eaa57397c1cf2235cfc7.zip gdb-3ba6ad0f876ad790def1eaa57397c1cf2235cfc7.tar.gz gdb-3ba6ad0f876ad790def1eaa57397c1cf2235cfc7.tar.bz2 |
* Makefile.in: (INTERNAL_CFLAGS): Add -DGDBSERVER
(various make rules): Remove -DGDBSERVER
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/Makefile.in | 28 |
2 files changed, 19 insertions, 14 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index a366695..3513dad 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-11-13 Markus Metzger <markus.t.metzger@intel.com> + + * Makefile.in: (INTERNAL_CFLAGS): Add -DGDBSERVER + (various make rules): Remove -DGDBSERVER + 2012-11-09 Yao Qi <yao@codesourcery.com> * spu-low.c (current_ptid): Move it to .. diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 489cf35..fc4fd1d 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -111,7 +111,7 @@ CFLAGS = @CFLAGS@ INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) -INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) +INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER # LDFLAGS is specifically reserved for setting from the command line # when running make. @@ -450,7 +450,7 @@ UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION # Note, we only build the IPA if -fvisibility=hidden is supported in # the first place. IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \ - -fPIC -DGDBSERVER -DIN_PROCESS_AGENT \ + -fPIC -DIN_PROCESS_AGENT \ -fvisibility=hidden # In-process agent object rules @@ -497,40 +497,40 @@ gdbreplay.o: gdbreplay.c config.h dll.o: dll.c $(server_h) signals.o: ../common/signals.c $(server_h) $(signals_def) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< linux-procfs.o: ../common/linux-procfs.c $(server_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< linux-ptrace.o: ../common/linux-ptrace.c $(server_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< common-utils.o: ../common/common-utils.c $(server_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< vec.o: ../common/vec.c $(vec_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< gdb_vecs.o: ../common/gdb_vecs.c $(vec_h) $(gdb_vecs_h) $(host_defs_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< xml-utils.o: ../common/xml-utils.c $(server_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< linux-osdata.o: ../common/linux-osdata.c $(server_h) $(linux_osdata_h) ../common/gdb_dirent.h - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< ptid.o: ../common/ptid.c $(ptid_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< buffer.o: ../common/buffer.c $(server_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< format.o: ../common/format.c $(server_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< agent.o: ../common/agent.c $(server_h) $(agent_h) - $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< # We build vasprintf with -DHAVE_CONFIG_H because we want that unit to # include our config.h file. Otherwise, some system headers do not get |