From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10894 invoked by alias); 1 Jul 2011 09:17:16 -0000 Received: (qmail 10886 invoked by uid 22791); 1 Jul 2011 09:17:15 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Jul 2011 09:17:02 +0000 Received: (qmail 27820 invoked from network); 1 Jul 2011 09:17:00 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Jul 2011 09:17:00 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH/RFC] gdb: tests: add support for testing FLAT toolchains Date: Fri, 01 Jul 2011 09:17:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) Cc: Mike Frysinger , toolchain-devel@blackfin.uclinux.org, Jie Zhang References: <201003182126.17119.vapier@gentoo.org> <1309479881-10550-1-git-send-email-vapier@gentoo.org> In-Reply-To: <1309479881-10550-1-git-send-email-vapier@gentoo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201107011016.57120.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00005.txt.bz2 On Friday 01 July 2011 01:24:41, Mike Frysinger wrote: > From: Jie Zhang > > FLAT toolchains output a FLAT binary for the named output and create > another file with a .gdb suffix that is used for debugging. So when > testing a FLAT toolchain and we need to load up a file, use the .gdb. Sounds a lot like the recently added lib/gdb.exp:exec_target_file/exec_symbol_file hooks? We added them to solve the exact same problem. We then have this in our board file for uclinux/flat toolchains: proc exec_target_file { binfile } { return ${binfile}.flt } -- Pedro Alves