From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4520 invoked by alias); 13 Jan 2007 08:30:09 -0000 Received: (qmail 4493 invoked by uid 22791); 13 Jan 2007 08:30:05 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 Jan 2007 08:29:58 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-11-156.inter.net.il [80.230.11.156]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GUR28938 (AUTH halo1); Sat, 13 Jan 2007 10:29:53 +0200 (IST) Date: Sat, 13 Jan 2007 08:30:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: gdb@sourceware.org In-reply-to: <20070109215337.GA4774@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 9 Jan 2007 16:53:37 -0500) Subject: Re: GDB and scripting languages - which Reply-to: Eli Zaretskii References: <20070108222005.GA27451@nevyn.them.org> <20070109202343.GD9844@cox.net> <17828.2852.359000.383405@gargle.gargle.HOWL> <17828.3474.603062.717814@kahikatea.snap.net.nz> <20070109215337.GA4774@nevyn.them.org> 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-01/txt/msg00219.txt.bz2 > Date: Tue, 9 Jan 2007 16:53:37 -0500 > From: Daniel Jacobowitz > > I am actually expecting something much more complicated: for instance, > functions which know how to walk data structures and prettyprint them. > Folks already do that in .gdbinit, but the functions they use can > sometimes be mammoth. The worst one I'm aware of uses "shell awk" > and "set logging" :-) If someone is interested, Emacs has some examples of walking data structures in .gdbinit. Another example is in etc/emacs-buffer.gdb.