From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30279 invoked by alias); 27 Jun 2006 08:25:30 -0000 Received: (qmail 30244 invoked by uid 22791); 27 Jun 2006 08:25:29 -0000 X-Spam-Check-By: sourceware.org Received: from tone.orchestra.cse.unsw.EDU.AU (HELO tone.orchestra.cse.unsw.EDU.AU) (129.94.242.59) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 27 Jun 2006 08:25:24 +0000 Received: From phaedrus.cse.unsw.edu.au ([129.94.173.232]) (for ) By tone With Smtp ; Tue, 27 Jun 2006 18:25:21 +1000 From: Cameron Stone To: gdb@sourceware.org Date: Wed, 28 Jun 2006 03:05:00 -0000 Subject: expanding backtrace User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606271825.20501.camerons@cse.unsw.edu.au> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00250.txt.bz2 I'm trying to write a script to print an expanded backtrace. It's basically: while loop_condition print frame print local variables print list (context) up-silently end However, I can't figure out how to implement the loop condition. All the functions in the manual are about how to print that information, but can't figure out how to get it into a variable or something that can be used to break the loop. Apologies if this has already been dealt with. I couldn't find it in the list archives. -- =================================================================== "Man is the only animal that blushes -- or needs to." - Mark Twain Cameron Stone ===================================================================