🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by David A Molnar Fri, 08 Feb 2002 03:29
$cycles on gdb 5.1.1 arm-coff?
#2780
Author: 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
Re: $cycles on gdb 5.1.1 arm-coff?
#2598
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads