From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27819 invoked by alias); 22 Jul 2002 17:30:06 -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 27751 invoked from network); 22 Jul 2002 17:30:05 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 22 Jul 2002 17:30:05 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17Wh0V-0001BT-00; Mon, 22 Jul 2002 12:30:04 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17Wh0U-0000nt-00; Mon, 22 Jul 2002 13:30:02 -0400 Date: Mon, 22 Jul 2002 10:30:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Jim Blandy , gdb@sources.redhat.com Subject: Re: WIP: Register doco Message-ID: <20020722173002.GA2965@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Jim Blandy , gdb@sources.redhat.com References: <3D38AF69.7020902@ges.redhat.com> <3D39954D.1020306@ges.redhat.com> <3D39CAD1.3060106@ges.redhat.com> <3D3AE41B.10201@ges.redhat.com> <20020721170446.GA30519@nevyn.them.org> <3D3C34EE.6050803@ges.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D3C34EE.6050803@ges.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00227.txt.bz2 On Mon, Jul 22, 2002 at 12:38:06PM -0400, Andrew Cagney wrote: > > > >"Typically" doesn't seem terribly useful... especially when debugging > >through a monitor rather than ptrace. I just worked on a GDB port to > >an architecture which does not do this (and let me tell you, it's > >awkward to deal with in GDB. It will be much easier when some more of > >your regcache work is finished.). The frame code had to figure out > >where in the register file to find the registers for the current (or > >any other) frame. > > Outch! BTW, typically == to the best of my knowledge all register > windows targets (ignoring the m88k). The target I'm working with used to do this; but it was somewhat undesirable from an architecture standpoint. So we moved the support into GDB. If I had a better register cache (the port was done vs 5.2, which was almost but not quite there), it would have been almost painless. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer