From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12421 invoked by alias); 29 Sep 2004 13:01:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12366 invoked from network); 29 Sep 2004 13:01:12 -0000 Received: from unknown (HELO alice.acmet.com) (61.16.238.202) by sourceware.org with SMTP; 29 Sep 2004 13:01:12 -0000 Received: from saurabh (localhost [127.0.0.1]) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id i8TCksn05315 for ; Wed, 29 Sep 2004 18:16:56 +0530 From: "Saurabh Srivastava" To: Subject: Does GDB keeps a track for Instruction Cycles? Date: Wed, 29 Sep 2004 13:01:00 -0000 Message-ID: <000d01c4a620$b53b8e80$5200a8c0@saurabh> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00255.txt.bz2 Hi, I am new to this mailing list. I want your help to let me find answer to the question 'whether GDB keeps a track for instruction cycles'. Actually Debugging GDB was not productive enough because the points where I made the search didn't have much to say. My search was local to 'mips' simulator. I have looked into manual, 'Debugging with GDB' (to look for if there is any command present), gdb internals. I got an initial impression that GDB does not maintain records for instruction cycle. Before proceeding any further, I thought of confirming this with gdb mailing list. If I am wrong and GDB keeps a track for instruction cycles then please provide me the pointers in GDB source where it is implemented. My curiosity about this implementation, which if exists, is that how it is handling the extra instruction cycles caused due to breakpoints, etc. Thanks in advance Saurabh