From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17566 invoked by alias); 23 Nov 2011 11:41:54 -0000 Received: (qmail 17557 invoked by uid 22791); 23 Nov 2011 11:41:53 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yw0-f41.google.com (HELO mail-yw0-f41.google.com) (209.85.213.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Nov 2011 11:41:40 +0000 Received: by ywm14 with SMTP id 14so463531ywm.0 for ; Wed, 23 Nov 2011 03:41:39 -0800 (PST) Received: by 10.50.100.194 with SMTP id fa2mr27603554igb.49.1322048499650; Wed, 23 Nov 2011 03:41:39 -0800 (PST) Received: from [192.168.1.56] ([58.37.193.48]) by mx.google.com with ESMTPS id e2sm72561623ibe.0.2011.11.23.03.41.23 (version=SSLv3 cipher=OTHER); Wed, 23 Nov 2011 03:41:38 -0800 (PST) Message-ID: <4ECCDBCB.8080808@linaro.org> Date: Wed, 23 Nov 2011 11:41:00 -0000 From: Zhenqiang Chen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: yann.morin.1998@anciens.enib.fr CC: crossgcc@sourceware.org Subject: [PATCH] debug/gdb: add extra config for gdb cross Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00148.txt.bz2 # HG changeset patch # User Zhenqiang Chen # Date 1322025327 -28800 # Node ID e3a6a636cfa9013ddd0855ca9eb8d3a35dad3249 # Parent 2f4e3c312b659422e4a9950f13a0fc507b97c1fd debug/gdb: add extra config for gdb cross. Signed-off-by: Zhenqiang Chen diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross --- a/config/debug/gdb.in.cross +++ b/config/debug/gdb.in.cross @@ -39,4 +39,11 @@ have been reports of problems when linking gdb to the static libpython.a. This should be fixed in gdb >=7.3. YMMV. +config GDB_CROSS_EXTRA_CONFIG_ARRAY + string + prompt "Extra config for gdb cross" + default "" + help + Extra flags to pass onto ./configure when configuring the gdb cross. + endif # GDB_CROSS diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -147,7 +147,8 @@ --with-sysroot="${CT_SYSROOT_DIR}" \ --with-expat=yes \ --disable-werror \ - "${cross_extra_config[@]}" + "${cross_extra_config[@]}" \ + "${CT_GDB_CROSS_EXTRA_CONFIG_ARRAY[@]}" CT_DoLog EXTRA "Building cross-gdb" CT_DoExecLog ALL make ${JOBSFLAGS} -- For unsubscribe information see http://sourceware.org/lists.html#faq