From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2745 invoked by alias); 17 Nov 2001 19:19:29 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2682 invoked from network); 17 Nov 2001 19:19:27 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sourceware.cygnus.com with SMTP; 17 Nov 2001 19:19:27 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 38F263D8B; Sat, 17 Nov 2001 14:18:42 -0500 (EST) Message-ID: <3BF6B812.1080102@cygnus.com> Date: Wed, 07 Nov 2001 09:22:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20011020 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Mark Kettenis , gdb@sources.redhat.com Subject: Re: Fixing Linux/SPARC References: <200110171407.f9HE7qL00752@delius.kettenis.local> <20011117134010.A15244@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00076.txt.bz2 > On Wed, Oct 17, 2001 at 04:07:52PM +0200, Mark Kettenis wrote: > >> Hi Dan & other interested folks, >> >> Something like the code below (completely untested, probably doesn't >> even compile) is needed to fix Linux/SPARC. > > > Compiles, after fixing the obvious typos. I'm going to commit it to > the mainline as obvious, since it takes Linux/SPARC from not-building > to building; test results are abysmal, though. It looks as if we can't > figure out the memory location variables are stored at correctly. > They're being accessed in the unmapped 0x90000000 segment instead of > 0x70000000, and not even at the right offsets. I'll look in to it more > later. Dan, can you please replace the calls to read_register_gen() with regcache_collect(). Andrew