From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3815 invoked by alias); 11 Dec 2005 20:27:18 -0000 Received: (qmail 3808 invoked by uid 22791); 11 Dec 2005 20:27:17 -0000 X-Spam-Check-By: sourceware.org Received: from nameservices.net (HELO cw-ventures.com) (208.234.10.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 Dec 2005 20:27:17 +0000 Received: from [192.168.1.102] (S01060012170db558.cg.shawcable.net [68.146.99.119]) by cw-ventures.com (8.12.10/8.11.6) with ESMTP id jBBKRBqY025001 for ; Sun, 11 Dec 2005 15:27:12 -0500 Subject: Re: How is info.bfd_arch_info set ? From: Kim Lux To: gdb@sourceware.org In-Reply-To: <1134332391.14961.10.camel@localhost.localdomain> References: <1134332391.14961.10.camel@localhost.localdomain> Content-Type: text/plain Date: Sun, 11 Dec 2005 20:27:00 -0000 Message-Id: <1134332830.14961.19.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00137.txt.bz2 I am debugging a custom gdb stub. m6811-elf-gdb, to be exact. gdb is initiating with info.bfd_arch_info->arch set to the wrong target. (m6811 and not 6812). I can't figure out how info.bfd_arch_info->arch gets set. What determines which arch gets used ? Where is this done ? Thanks. -- Kim Lux, Diesel Research Inc.