Francois Gouget : testbot/testagentd: Generate debugging information when compiling.

Alexandre Julliard julliard at winehq.org
Mon Apr 14 12:10:15 CDT 2014


Module: tools
Branch: master
Commit: bffa9e544e9b676747ce58d75fea294157938a4a
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=bffa9e544e9b676747ce58d75fea294157938a4a

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Apr 14 14:46:46 2014 +0200

testbot/testagentd: Generate debugging information when compiling.

This way one just has to comment out the strip commands to get binaries with useful debug information.

---

 testbot/src/testagentd/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/src/testagentd/Makefile b/testbot/src/testagentd/Makefile
index 676d71c..5a7b735 100644
--- a/testbot/src/testagentd/Makefile
+++ b/testbot/src/testagentd/Makefile
@@ -13,7 +13,7 @@ $(builddir)/testagentd: testagentd.o platform_unix.o
 	strip $@
 
 .c.o:
-	gcc -Wall -c -o $@ $<
+	gcc -Wall -g -c -o $@ $<
 
 
 TestAgentd.exe: testagentd.obj platform_windows.obj
@@ -22,7 +22,7 @@ TestAgentd.exe: testagentd.obj platform_windows.obj
 
 .SUFFIXES: .obj
 .c.obj:
-	$(CROSSCC32) -Wall -c -o $@ $<
+	$(CROSSCC32) -Wall -g -c -o $@ $<
 
 testagentd.o testagentd.obj: platform.h
 platform_unix.o: platform.h list.h




More information about the wine-cvs mailing list