From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28411 invoked by alias); 23 Dec 2004 03:02:47 -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 28380 invoked from network); 23 Dec 2004 03:02:42 -0000 Received: from unknown (HELO nimbus.ott.qnx.com) (209.226.137.76) by sourceware.org with SMTP; 23 Dec 2004 03:02:42 -0000 Received: from [192.168.20.31] (CATDOG [192.168.20.31]) by nimbus.ott.qnx.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id ZHDMYG33; Wed, 22 Dec 2004 22:02:42 -0500 Message-ID: <41CA354B.50807@qnx.com> Date: Thu, 23 Dec 2004 09:21:00 -0000 From: Kris Warkentin User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [patch] remove deprecated core support from QNX NTO References: <200412222203.iBMM3ULD001405@elgar.sibelius.xs4all.nl> In-Reply-To: <200412222203.iBMM3ULD001405@elgar.sibelius.xs4all.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-12/txt/msg00424.txt.bz2 Mark Kettenis wrote: > Date: Tue, 21 Dec 2004 18:23:35 -0500 > From: Kris Warkentin > > Really long ChangeLog for relatively simple fix. Created new > supply_regset functions and changed my old ones to call them instead. > > Then register them with gdbarch and rip out all the deprecated stuff. > > Look okay? > > Any reason why you can't use the generic register support in > i386-tdep.c? Actually, I take advantage of the i387 generics for the floating point regs since our kernel just uses the opcode to push them in the normal order. Unfortunately though, our gpregs are in a different order and not all of them are there so we have some unique mappings. Plus, having it all in one place makes it more consistent when switching between native and remote targets. cheers, Kris