From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9492 invoked by alias); 22 Nov 2005 19:30:38 -0000 Received: (qmail 9485 invoked by uid 22791); 22 Nov 2005 19:30:38 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 22 Nov 2005 19:30:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Eedqc-0006cG-K4; Tue, 22 Nov 2005 14:30:34 -0500 Date: Tue, 22 Nov 2005 19:44:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb@sourceware.org Subject: Re: Prologue analysis interface Message-ID: <20051122193034.GA25326@nevyn.them.org> Mail-Followup-To: Jim Blandy , gdb@sourceware.org References: <8f2776cb0511221124u988f759u17418a114e1f3b7c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f2776cb0511221124u988f759u17418a114e1f3b7c@mail.gmail.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00496.txt.bz2 On Tue, Nov 22, 2005 at 11:24:06AM -0800, Jim Blandy wrote: > Daniel, you said that you felt that the interface in the > prologue-value.h that I posted wasn't at the right level, and > suggested that, instead of providing types and some operations on > those types, it should instead provide the interpretation loop and > call back into tdep code to interpret specific instructions. > > Could you sketch that interface for me? I'm concerned that it will be > difficult to allow the tdep code the flexibility it needs to model the > processor without a lot of bureaucracy, but I'm willing to be > impressed. What I don't know is how much flexibility is needed. Maybe it's more than I thought. I'm penciling in reading the existing s390 analyzer and posted m32c analyzers for tonight's schedule, since this keeps coming up in conversation. I promise I'll get back to you about this soon. -- Daniel Jacobowitz CodeSourcery, LLC