This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] scripts: strip gdbserver


exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1347442958 -28800
# Node ID 05cc064390d51c44d2c28509cccf96f726671b23
# Parent  ff167977b16313c705e71779aa71e4b4f9588d6a
scripts: strip gdbserver

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

diff -r ff167977b163 -r 05cc064390d5 scripts/build/internals.sh
--- a/scripts/build/internals.sh	Wed Aug 22 12:26:10 2012 -0700
+++ b/scripts/build/internals.sh	Wed Sep 12 17:42:38 2012 +0800
@@ -22,6 +22,12 @@
         esac
         CT_DoLog INFO "Stripping all toolchain executables"
         CT_Pushd "${CT_PREFIX_DIR}"
+
+        # Strip gdbserver
+        if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
+           CT_DoExecLog ALL bin/${CT_TARGET}-strip ${strip_args}    \
+                            ${CT_TARGET}/debug-root/usr/bin/gdbserver
+        fi
         # We can not use the version in CT_CC_VERSION because
         # of the Linaro stuff. So, harvest the version string
         # directly from the gcc sources...

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]