From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17954 invoked by alias); 9 Apr 2010 17:31:05 -0000 Received: (qmail 17939 invoked by uid 22791); 9 Apr 2010 17:31:03 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from eu1sys200aog118.obsmtp.com (HELO eu1sys200aog118.obsmtp.com) (207.126.144.145) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 17:30:59 +0000 Received: from source ([167.4.1.35]) (using TLSv1) by eu1sys200aob118.postini.com ([207.126.147.11]) with SMTP ID DSNKS79kTm/5B+pBls6vBUlyW9+rzVhQtaYA@postini.com; Fri, 09 Apr 2010 17:30:58 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.80.115]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id DB5764A; Fri, 9 Apr 2010 17:27:53 +0000 (GMT) Received: from mail2.crn.st.com (mail2.crn.st.com [167.4.2.66]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 93F4C146; Fri, 9 Apr 2010 17:30:45 +0000 (GMT) Received: from [167.4.249.181] (ottl131.ott.st.com [167.4.249.181]) by mail2.crn.st.com (MOS 3.8.7a) with ESMTP id AHZ12257 (AUTH "michel metzger"); Fri, 9 Apr 2010 12:30:44 -0500 (CDT) Message-ID: <4BBF6435.2090601@st.com> Date: Fri, 09 Apr 2010 17:31:00 -0000 From: Michel METZGER User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: tromey@redhat.com Cc: gdb@sourceware.org Subject: Re: Side effect of set print address on python API References: <4BBE47A3.10906@st.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-04/txt/msg00038.txt.bz2 Tom Tromey wrote: >>>>>> "Michel" == Michel METZGER writes: > > Michel> (gdb) set print address off > Michel> (gdb) python print len(str(gdb.selected_frame().read_var("argv"))) > Michel> 0 > > Michel> It's not a blocking issue for me but I guess this is not the expected > Michel> behavior ;) > > It does seem odd. Could you file a bug report for this? > > Tom > Here it is: http://sourceware.org/bugzilla/show_bug.cgi?id=11482 Michel.