From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19591 invoked by alias); 14 Feb 2007 21:47:42 -0000 Received: (qmail 19501 invoked by uid 22791); 14 Feb 2007 21:47:41 -0000 X-Spam-Check-By: sourceware.org Received: from jess.glam.ac.uk (HELO jess.glam.ac.uk) (193.63.147.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Feb 2007 21:47:33 +0000 Received: from mailserv3.isd.glam.ac.uk ([192.168.244.3]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1HHRnO-00004s-00; Wed, 14 Feb 2007 21:36:10 +0000 Received: from MAILSERV1.isd.glam.ac.uk ([192.168.244.1]) by mailserv3.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Feb 2007 21:47:29 +0000 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Feb 2007 21:47:28 +0000 Received: from gaius by floppsie with local (Exim 4.63) (envelope-from ) id 1HHRuG-0000Dk-Vg; Wed, 14 Feb 2007 21:43:16 +0000 To: Jim Blandy Cc: Eli Zaretskii , gdb@sourceware.org Subject: Re: GDB and scripting languages - which References: <20070108222005.GA27451@nevyn.them.org> <20070210203307.GA27502@nevyn.them.org> From: Gaius Mulley Date: Thu, 15 Feb 2007 01:03:00 -0000 In-Reply-To: Message-ID: <87d54cwh3f.fsf@glam.ac.uk> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2007-02/txt/msg00151.txt.bz2 Jim Blandy writes: > In the broadest terms, debugging is about watching your programs run. > There are so many possible things people might want to do with that. > To address the three things I mentioned: > - Some kind of remote monitoring would need network support. > - Debugging performance problems would benefit from graphing. > - GUI facilities could broaden the audience of almost anything. Hi, I confess to be enthusiastic about Python in gdb. Other libraries such as 'pexpect' are pretty useful as well. Over Christmas I had to write a python script which ran two gdb's debugging stage2 and stage3 GNU Modula-2 compiler binaries (the later was broken somewhere). The script instantiated two classes controlling the gdbs, ran to a known break point and then single stepped each a.out until the line numbers or source files differed. Lazy debugging, but useful over the holiday period. regards, Gaius