Patchwork [1,of,3] debug/gdb: enforce gdbserver cross-compilation

login
register
mail settings
Submitter Samuel Martin
Date March 16, 2013, 3:04 p.m.
Message ID <ca85cad85c4dd20e74f1.1363446262@laptop>
Download mbox | patch
Permalink /patch/228219/
State Accepted
Commit 10059fe75e24
Headers show

Comments

Samuel Martin - March 16, 2013, 3:04 p.m.
# HG changeset patch
# User "Samuel Martin" <s.martin49@gmail.com>
# Date 1363445205 -3600
# Node ID ca85cad85c4dd20e74f1514c520882fa1b4e9bb5
# Parent  cbaf37cc20b7acb900e503020210359ff42e2189
debug/gdb: enforce gdbserver cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>


--
For unsubscribe information see http://sourceware.org/lists.html#faq
Yann E. MORIN - March 16, 2013, 10:46 p.m.
Samuel, All,

Your patch:
    debug/gdb: enforce gdbserver cross-compilation

has been applied as: #10059fe75e24
    http://crosstool-ng.org/hg/crosstool-ng/rev/10059fe75e24

Thank you!

Regards,
Yann E. MORIN.



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

Patch

diff -r cbaf37cc20b7 -r ca85cad85c4d scripts/build/debug/300-gdb.sh
--- a/scripts/build/debug/300-gdb.sh	Sun Mar 03 22:24:40 2013 +0100
+++ b/scripts/build/debug/300-gdb.sh	Sat Mar 16 15:46:45 2013 +0100
@@ -323,6 +323,9 @@ 
         fi
 
         CT_DoExecLog CFG                                \
+        CC="${CT_TARGET}-gcc"                           \
+        CPP="${CT_TARGET}-cpp"                          \
+        LD="${CT_TARGET}-ld"                            \
         LDFLAGS="${gdbserver_LDFLAGS}"                  \
         "${gdb_src_dir}/gdb/gdbserver/configure"        \
             --build=${CT_BUILD}                         \