From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12365 invoked by alias); 16 Dec 2010 11:37:45 -0000 Received: (qmail 12296 invoked by uid 22791); 16 Dec 2010 11:37:44 -0000 X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qw0-f41.google.com (HELO mail-qw0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Dec 2010 11:37:38 +0000 Received: by qwa26 with SMTP id 26so2969851qwa.0 for ; Thu, 16 Dec 2010 03:37:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.186.75 with SMTP id cr11mr1585944qcb.113.1292499457024; Thu, 16 Dec 2010 03:37:37 -0800 (PST) Received: by 10.229.55.141 with HTTP; Thu, 16 Dec 2010 03:37:37 -0800 (PST) Date: Thu, 16 Dec 2010 11:37:00 -0000 Message-ID: Subject: Trace each statement From: Haitao Dan To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2010-12/txt/msg00045.txt.bz2 Dear All, Is there a way to output the execution path of the run of a c program using GDB? Thank you very much! Best regards, Dan