From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 989 invoked by alias); 27 Jan 2008 18:08:17 -0000 Received: (qmail 981 invoked by uid 22791); 27 Jan 2008 18:08:17 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 27 Jan 2008 18:07:59 +0000 Received: by py-out-1112.google.com with SMTP id f31so1571730pyh.18 for ; Sun, 27 Jan 2008 10:07:57 -0800 (PST) Received: by 10.35.77.18 with SMTP id e18mr5296901pyl.20.1201457277857; Sun, 27 Jan 2008 10:07:57 -0800 (PST) Received: by 10.35.36.15 with HTTP; Sun, 27 Jan 2008 10:07:57 -0800 (PST) Message-ID: <8f2776cb0801271007r125463e0la1cf8a7c9d1efef@mail.gmail.com> Date: Sun, 27 Jan 2008 21:11:00 -0000 From: "Jim Blandy" To: "andrzej zaborowski" Subject: Re: [PATCH] Disallow pseudo-registers in agent expression. Cc: gdb-patches@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 4cd007c52446607d X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00635.txt.bz2 On some targets, all the user-visible registers are pseudo-registers. What we need is a gdbarch method (optional) that the tracepoint code could call, passing it a struct agent_expr and a pseudo-register number, to have the architecture code append the appropriate bytecodes to access that register.