From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23511 invoked by alias); 12 Nov 2004 14:17:31 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22913 invoked from network); 12 Nov 2004 14:16:33 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 12 Nov 2004 14:16:33 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iACEGXgh025280 for ; Fri, 12 Nov 2004 09:16:33 -0500 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iACEGWr23518; Fri, 12 Nov 2004 09:16:32 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 5549C129D8C; Fri, 12 Nov 2004 09:15:18 -0500 (EST) Message-ID: <4194C575.5080209@gnu.org> Date: Fri, 12 Nov 2004 15:30:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Steven Johnson Cc: Fabian Cenedese , gdb@sources.redhat.com Subject: Re: set architecture for MPC8xx References: <938F1554888BD71194E100B0D0FCD97201AAD7E2@ge51smail2.ge51.honeywell.de> <938F1554888BD71194E100B0D0FCD97201AAD7E2@ge51smail2.ge51.honeywell.de> <5.2.0.9.1.20041111105459.01d6ccb8@NT_SERVER> <41941CFA.4070303@neurizon.net> In-Reply-To: <41941CFA.4070303@neurizon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00118.txt.bz2 Steven Johnson wrote: > Fabian Cenedese wrote: > >> Is there a way to tell the stub the architecture gdb was set to? (Other >> than with the monitor command.) >> >> > That would be nice, but unfortunaltey not to my knowledge. The stub I > wrote for MPC860, only worked with that architecture, and didnt work > with the generic powerpc architecture. It saved me switching, when I > never used anything but the MPC8XX Architecture with the stub. > > The counter would be nice, for the stub to tell GDB what architecture/s > it actually supports, so GDB takes on the appropriate view. Yes. Perhaphs a T packet extension? http://sources.redhat.com/gdb/papers/multi-arch/real-multi-arch/index.html#SEC43 Andrew > But also, > stubs cant do this either. > > Hope this answers the question. > > Steven >