From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 632 invoked by alias); 14 Nov 2001 07:51:20 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 606 invoked from network); 14 Nov 2001 07:51:15 -0000 Received: from unknown (HELO hrtades9.atea.be) (194.78.143.109) by sourceware.cygnus.com with SMTP; 14 Nov 2001 07:51:15 -0000 Received: from hrtades10.atea.be (siemens.atea.be [139.10.143.141]) by hrtades9.atea.be with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id T8JBFCYG; Wed, 14 Nov 2001 08:50:34 +0100 Received: by siemens.atea.be with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Nov 2001 08:50:10 +0100 Message-ID: From: Vermeulen Jan To: "'gdb@sources.redhat.com'" Subject: RE: powerpc simulator questions Date: Fri, 02 Nov 2001 18:33:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2001-11/txt/msg00043.txt.bz2 Hey, Thanks for the suggestions. It was indeed the memorymap that went haywire. (or the author :) I managed to debug/simulate my code. Very nice. Just one more question: with powerpc-eabi-run, i can see how many cycles have passed for the program. 1) if I want to know how long it would take on a 200MHz powerpc (and the routine takes about 35e6 cycles), then am i correct to use this formula : 35e6 cycles / 200e6 Mhz = 175 milliseconds ? 2) is the same type of performance measuring in the simulator under gdb? for example: breakpoint before a routine, breakpoint after one, and then a command "give me number of cycles passed between those 2 breakpoints (please)." Thanks once again, Jan