From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31241 invoked by alias); 15 Oct 2010 15:18:16 -0000 Received: (qmail 31229 invoked by uid 22791); 15 Oct 2010 15:18:14 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Oct 2010 15:18:08 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9FFI6Gk009927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Oct 2010 11:18:06 -0400 Received: from host1.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o9FFI4EH008806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Oct 2010 11:18:06 -0400 Received: from host1.dyn.jankratochvil.net (localhost [127.0.0.1]) by host1.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o9FFI4mE025256; Fri, 15 Oct 2010 17:18:04 +0200 Received: (from jkratoch@localhost) by host1.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o9FFI3Wt025255; Fri, 15 Oct 2010 17:18:03 +0200 Date: Fri, 15 Oct 2010 15:18:00 -0000 From: Jan Kratochvil To: paawan oza Cc: gdb@sourceware.org Subject: Re: reversible debugging, enhancements, proposals Message-ID: <20101015151803.GA23906@host1.dyn.jankratochvil.net> References: <717587.85098.qm@web112501.mail.gq1.yahoo.com> <20101015131534.GA17486@host1.dyn.jankratochvil.net> <221705.52663.qm@web112503.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <221705.52663.qm@web112503.mail.gq1.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2010-10/txt/msg00055.txt.bz2 On Fri, 15 Oct 2010 15:48:57 +0200, paawan oza wrote: > but my point is: it becomes cumbesome for user to go and modify the > file/.gdbinit macro or script. Projects provide their own .gdbinit files (gcc/gdbinit.in, emacs/src/.gdbinit) for examining the project's specific data structures. For example for GList (Gnome glib) it cannot work fully automatically as its ->data is void *. > you have losts of data streuctures like linked list, complex tree, btree etc.... > and most of the user is not predetermined to se where he wants to look....it Maybe a pretty printer could have a hint if one wants to print just a single element or the whole list? Or if printing a pointer (and not curretly implemented *pointer) it could print the whole list? That may be confusing, though. Thanks, Jan