From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12797 invoked by alias); 28 Aug 2003 16:44:27 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12790 invoked from network); 28 Aug 2003 16:44:26 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 28 Aug 2003 16:44:26 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 19A352B7F; Thu, 28 Aug 2003 12:44:25 -0400 (EDT) Message-ID: <3F4E3168.9060908@redhat.com> Date: Thu, 28 Aug 2003 16:44:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Thorpe Cc: Daniel Jacobowitz , "Nathan J. Williams" , gdb-patches@sources.redhat.com Subject: Re: [PATCH] IBM6000_TARGET is wrong for NetBSD/powerpc References: <1BD6D35A-D972-11D7-BD43-000A957650EC@wasabisystems.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00512.txt.bz2 > I agree, but we're talking about a simple bug-fix for an existing target, where the multi-arch-correct solution is not all that clear, because... > > - re-arange tm-rs6000.h so that the define wasn't needed > - move the define to nm-rs6000.h (sick but effective :-) > > ...it's an MI part of the debugger that is testing the define. How would you suggest modifying tm-rs6000.h to deal with this? Create an aix specific tm-rs6000.h, move the define to there and then kill the #undef's. Given that this macro will be deleted rather than multi-arched, moving [burrying] it to nm-rs6000.h (and zapping the #undefine is easier). Andrew