🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2780

$cycles on gdb 5.1.1 arm-coff?

#2780
From: David A Molnar
Date: Fri, 08 Feb 2002 03:29
13 lines
1293 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
Technical Details
Message-ID: <a3vgni$io9$1@news.fas.harvard.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news-hub.siol.net!zur.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,787b7e66281f5d8c,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-02-07 19:30:03 PST
x-uunet-gateway: sjc3sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Fri, 8 Feb 2002 03:29:59 GMT
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news-hub.siol.net!zur.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mail
From: dmolnar@fas.harvard.edu (David A Molnar)
Subject: $cycles on gdb 5.1.1 arm-coff?
Date: 8 Feb 2002 03:29:54 GMT
Organization: Harvard University, Cambridge, Massachusetts
Message-ID: <a3vgni$io9$1@news.fas.harvard.edu>
NNTP-Posting-Host: is07.fas.harvard.edu
User-Agent: tin/pre-1.4-980117 (UNIX) (OSF1/V4.0 (alpha))
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Sender: bug-gdb-request@mail.gnu.org
Lines: 15