From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27894 invoked by alias); 25 Aug 2011 00:17:19 -0000 Received: (qmail 27882 invoked by uid 22791); 25 Aug 2011 00:17:17 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mailout-de.gmx.net (HELO mailout-de.gmx.net) (213.165.64.22) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 25 Aug 2011 00:17:05 +0000 Received: (qmail invoked by alias); 25 Aug 2011 00:17:03 -0000 Received: from 216-58-92-243.cpe.distributel.net (EHLO [192.168.100.2]) [216.58.92.243] by mail.gmx.net (mp072) with SMTP; 25 Aug 2011 02:17:03 +0200 Message-ID: <4E559477.1060306@gmx.net> Date: Thu, 25 Aug 2011 00:17:00 -0000 From: Aurelian Melinte User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: gdb@sourceware.org Subject: gdb on automatic pilot? Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 2011-08/txt/msg00111.txt.bz2 Hello, I am looking to use gdb to print the stack each time a certain function is called , then resume execution. And this without manual intervention. Could anyone please advise if feasible and if yes, how? Any other tool I can use? Thanks, a.