🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2598

Re: $cycles on gdb 5.1.1 arm-coff?

#2598
From: Andrew Cagney
Date: Thu, 07 Mar 2002 17:33
17 lines
1568 bytes
> Hi,
> 
> I am trying to get cycle counts for an ARM target with the ARM simulator 
> included with gdb-5.1.1 . I think I am supposed to query a register
> $cycles, but no such register shows up from "info reg" and 
> "p $cycles" returns void.
> 
> A google search reveals that this question has come up before, but
> showed no resolution. What am I doing wrong?
> 
> thanks,
> -David Molnar

The $cycles register was only implemented for a small number of 
simulators (z8k and h8300).

Andrew
Technical Details
Message-ID: <3C87A466.50407@cygnus.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
References: <a3vgni$io9$1@news.fas.harvard.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,787b7e66281f5d8c
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-03-07 09:33:41 PST
x-uunet-gateway: mr1.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Thu, 7 Mar 2002 17:33:39 GMT
Message-ID: <3C87A466.50407@cygnus.com>
Date: Thu, 07 Mar 2002 12:33:26 -0500
From: ac131313@cygnus.com (Andrew Cagney)
User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.8) Gecko/20020210
X-Accept-Language: en-us
MIME-Version: 1.0
Subject: Re: $cycles on gdb 5.1.1 arm-coff?
References: <a3vgni$io9$1@news.fas.harvard.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news2.euro.net!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Sender: bug-gdb-request@mail.gnu.org
Lines: 19