[pidgin-musictracker] r481 committed - Retain debug information for Windows DLL in a .dbg file

3 views
Skip to first unread message

pidgin-mu...@googlecode.com

unread,
Aug 3, 2011, 9:03:04 AM8/3/11
to pidgin-musict...@googlegroups.com
Revision: 481
Author: jon.t...@dronecode.org.uk
Date: Wed Aug 3 06:02:16 2011
Log: Retain debug information for Windows DLL in a .dbg file


http://code.google.com/p/pidgin-musictracker/source/detail?r=481

Modified:
/trunk/packaging/package-release
/trunk/src
/trunk/src/Makefile.mingw

=======================================
--- /trunk/packaging/package-release Wed Jun 24 08:17:38 2009
+++ /trunk/packaging/package-release Wed Aug 3 06:02:16 2011
@@ -10,7 +10,7 @@
SVN_REV=`svn info https://pidgin-musictracker.googlecode.com/svn/trunk |
grep Revision | cut -d':' -f2 | tr -d ' '`

# obtaining svn revision failed, do nothing...
- if [ -z $SVN_REV ]
+ if [ -z $SVN_REV ]
then
echo "Couldn't get svn rev"
exit 0
@@ -72,6 +72,7 @@
pidgin-musictracker-$VERSION-bin.tar.bz2 \
$WORKDIR/installer/pidgin-musictracker-$VERSION.exe \
pidgin-musictracker-$VERSION.tar.bz2 \
+ $WORKDIR/src/musictracker.dbg \
$UPLOAD_TARGET/pidgin-musictracker-snapshot

rm -r $WORKDIR
=======================================
--- /trunk/src/Makefile.mingw Mon Aug 1 14:44:55 2011
+++ /trunk/src/Makefile.mingw Wed Aug 3 06:02:16 2011
@@ -114,7 +114,9 @@
echo "RMDir \$$INSTDIR\\locale\\$$i\\LC_MESSAGES"
>>$(PO_UNINSTALL_SCRIPT) ; fi ; done

$(INSTALLER): $(TARGET).dll $(INSTALL_SCRIPT) $(PO_INSTALL_SCRIPT)
$(PO_UNINSTALL_SCRIPT)
- strip $(TARGET).dll
+ objcopy --only-keep-debug $(TARGET).dll $(TARGET).dbg
+ objcopy --strip-debug $(TARGET).dll
+ objcopy --add-gnu-debuglink=$(TARGET).dbg $(TARGET).dll
makensis -V3 -DVERSION=$(VERSION) $(INSTALL_SCRIPT)

##

Reply all
Reply to author
Forward
0 new messages