From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15372 invoked by alias); 18 Apr 2009 18:56:09 -0000 Received: (qmail 15362 invoked by uid 22791); 18 Apr 2009 18:56:08 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.170) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Apr 2009 18:56:03 +0000 Received: by wf-out-1314.google.com with SMTP id 23so1271707wfg.24 for ; Sat, 18 Apr 2009 11:56:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.238.20 with SMTP id l20mr279873wfh.61.1240080961470; Sat, 18 Apr 2009 11:56:01 -0700 (PDT) Date: Mon, 20 Apr 2009 08:01:00 -0000 Message-ID: <6c288c860904181156h58797544yd33e28e40a0d5773@mail.gmail.com> Subject: Print complete control flow through gdb From: Mausoom Sarkar To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00151.txt.bz2 The idea is that given a specific input to the program, somehow I want to automatically step-in through the complete program and dump its control flow along with all the data being used like classes and their variables. Is their a straightforward way to do this? Or can this be done by some scripting over gdb or does it require modification in gdb? Thanks in advance