From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25930 invoked by alias); 27 Oct 2005 05:28:34 -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 25902 invoked by uid 22791); 27 Oct 2005 05:28:24 -0000 Received: from cse-mail.unl.edu (HELO cse-mail.unl.edu) (129.93.165.11) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 27 Oct 2005 05:28:24 +0000 Received: from [192.168.0.100] (CPE-24-208-78-172.neb.res.rr.com [24.208.78.172]) (authenticated bits=0) by cse-mail.unl.edu (8.13.1/8.13.1) with ESMTP id j9R5SFZp005655 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 27 Oct 2005 00:28:15 -0500 (CDT) Message-ID: <436072CB.60202@cse.unl.edu> Date: Thu, 27 Oct 2005 05:28:00 -0000 From: Neo Jia User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: ZengNan CC: gdb@sources.redhat.com Subject: Re: Get a whole call stack through the running of target program References: <20051027025240.97987.qmail@web15702.mail.cnb.yahoo.com> In-Reply-To: <20051027025240.97987.qmail@web15702.mail.cnb.yahoo.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-10/txt/msg00152.txt.bz2 hi, What do you mean the "whole call stack"? So you are still interested in the functions, those are already poped? If yes, I think you are actually interested in the execution path of your program. GCC might help you. Thanks, Neo ZengNan wrote: >Can gdb give the whole call stack from the beginning to the termination of the target program, so >I can see the flow of the algorithm. > > > > > > >___________________________________________________________ >ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä >http://cn.mail.yahoo.com > > -- I would remember that if researchers were not ambitions probably today we haven't the technology we are using!