From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23624 invoked by alias); 18 Jul 2011 08:20:55 -0000 Received: (qmail 23615 invoked by uid 22791); 18 Jul 2011 08:20:54 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SARE_FROM_CONS6S,TW_QE X-Spam-Check-By: sourceware.org Received: from mail-gw0-f41.google.com (HELO mail-gw0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Jul 2011 08:20:41 +0000 Received: by gwaa12 with SMTP id a12so1334798gwa.0 for ; Mon, 18 Jul 2011 01:20:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.79.134 with SMTP id i6mr6822198yhe.75.1310977240303; Mon, 18 Jul 2011 01:20:40 -0700 (PDT) Received: by 10.147.32.11 with HTTP; Mon, 18 Jul 2011 01:20:40 -0700 (PDT) In-Reply-To: References: <201107180028.54700.jcmvbkbc@gmail.com> Date: Mon, 18 Jul 2011 08:20:00 -0000 Message-ID: Subject: Re: xtensa: reading privileged special registers From: Max Filippov To: Maxim Grigoriev Cc: gdb@sourceware.org, Marc Gauthier Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00077.txt.bz2 > Please, help us to precisely identify what exactly do you experience > by answering some questions: > 1) Did you apply a source overlay for your specific hardware ? Yes, I have applied publicly available dc232b overlay. Although the code that returns zeros for privileged SRs is not overlay-specific. > 2) What Xtensa processor do you work with (=A0if it's not a secret=A0) ? > =A0=A0=A0=A0What privileged registers do you have problems with ? It is not a processor, it is qemu-based ISS that I've been developing. It emulates dc232b. I was mostly interested in $ccount/$ccompare. I started to dig here because although I've implemented access to these registers in gdbstub, I couldn't make gdb to query them. --=20 Thanks. -- Max