From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22177 invoked by alias); 30 Oct 2004 19:57:48 -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 22168 invoked from network); 30 Oct 2004 19:57:47 -0000 Received: from unknown (HELO walton.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 30 Oct 2004 19:57:47 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by walton.sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id i9UJvfiF015626; Sat, 30 Oct 2004 21:57:41 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id i9UJvfpl009180; Sat, 30 Oct 2004 21:57:41 +0200 (CEST) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id i9UJvbA5009175; Sat, 30 Oct 2004 21:57:37 +0200 (CEST) Date: Sat, 30 Oct 2004 19:57:00 -0000 Message-Id: <200410301957.i9UJvbA5009175@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: joseph@codesourcery.com, gdb-patches@sources.redhat.com In-reply-to: <200410262049.i9QKnrN4034613@elgar.sibelius.xs4all.nl> (message from Mark Kettenis on Tue, 26 Oct 2004 22:49:53 +0200 (CEST)) Subject: Re: Patch to support AMD64 Solaris 10 References: <200410251955.i9PJtCIA031297@elgar.sibelius.xs4all.nl> <200410262049.i9QKnrN4034613@elgar.sibelius.xs4all.nl> X-SW-Source: 2004-10/txt/msg00504.txt.bz2 Date: Tue, 26 Oct 2004 22:49:53 +0200 (CEST) From: Mark Kettenis The splitting of the file doesn't make me happy. It'd be better if the Solaris code didn't attempt to use i386v4-nat.c at all, but that means some other changes are needed. Big difference between SPARC and AMD64 on one side and i386 on the other side is that the layout of the prfpregset is defined in the -tdep.c file instead of the -nat.c file. That's what I need to do for i386 too. Please give me a few days to set that right first. OK, I didn't get it completely right yet, but I've checked in a i386-sol2-nat.c that avoids too much code duplication and should work. It probably needs to be tweaked a bit before it really works for the 64-bit case. Cheers, Mark