From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7646 invoked by alias); 4 Aug 2007 16:35:34 -0000 Received: (qmail 7502 invoked by uid 22791); 4 Aug 2007 16:35:33 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.179) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 04 Aug 2007 16:35:29 +0000 Received: by wa-out-1112.google.com with SMTP id k22so1349720waf for ; Sat, 04 Aug 2007 09:35:26 -0700 (PDT) Received: by 10.115.76.1 with SMTP id d1mr4042206wal.1186245326574; Sat, 04 Aug 2007 09:35:26 -0700 (PDT) Received: by 10.114.111.7 with HTTP; Sat, 4 Aug 2007 09:35:26 -0700 (PDT) Message-ID: <119aab440708040935l71bba985uf7a782252a760d3@mail.gmail.com> Date: Sat, 04 Aug 2007 16:35:00 -0000 From: "Carlos O'Donell" To: "Randolph Chung" Subject: Re: [parisc-linux] [hppa patch] Fix register definitions for hppa Cc: gdb-patches@sources.redhat.com, parisc-linux@lists.parisc-linux.org In-Reply-To: <20070803201219.GC32611@tausq.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070803170646.GB32611@tausq.org> <119aab440708031132h58d94c38l672a241301bda9ee@mail.gmail.com> <20070803201219.GC32611@tausq.org> X-Google-Sender-Auth: d7d7aaa495160509 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: 2007-08/txt/msg00082.txt.bz2 On 8/3/07, Randolph Chung wrote: > Remember that gdb is reading the cr27 of the debuggee, not of itself, so > __set_cr27 is irrelevant. Is it usefull to be able to adjust the inferior's thread register? > From the architecture point of view, CR26 and CR27 are only readable > from userspace, so gdb should not enable somebody to set them from > inside gdb. Would it be usefull to adjust the thread register when debugging glibc? Cheers, Carlos.