From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21595 invoked by alias); 4 Jan 2009 04:20:36 -0000 Received: (qmail 21587 invoked by uid 22791); 4 Jan 2009 04:20:35 -0000 X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BARRACUDA_BRBL,BAYES_20,J_CHICKENPOX_37,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Jan 2009 04:20:29 +0000 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KCX00E00IE0FW00@i-mtaout7.012.net.il> for gdb-patches@sourceware.org; Sun, 04 Jan 2009 06:20:25 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.220.202]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KCX007GHIQ0LT50@i-mtaout7.012.net.il>; Sun, 04 Jan 2009 06:20:25 +0200 (IST) Date: Sun, 04 Jan 2009 04:20:00 -0000 From: Eli Zaretskii Subject: Re: [RFC][python] Fixes and improvements to gdb.Value. In-reply-to: <1231024147.8380.166.camel@localhost.localdomain> To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <1230949500.8380.140.camel@localhost.localdomain> <1231024147.8380.166.camel@localhost.localdomain> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00018.txt.bz2 > From: Thiago Jung Bauermann > Cc: gdb-patches@sourceware.org > Date: Sat, 03 Jan 2009 21:09:07 -0200 > > In a nutshell, my answer is "no, I don't think it should". :-) Then perhaps having an index entry "gdb.history" is not important, either? > If @var{number} is negative, then @value{GDBN} will take its absolute value > and count backward from the last element (i.e., the most recent element) to > find the value to return. If @var{number} is zero, then @value{GDBN} will > return the most recent element. If the element specified by @value{number} > doesn't exist in the value history, a @code{RuntimeError} exception will be > raised. > > What do you think? Sounds good. > 2009-01-03 Tom Tromey > > * gdb.texinfo (Basic Python): Document gdb.history. Thanks, I'm happy now.