From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 598 invoked by alias); 26 Aug 2011 15:05:20 -0000 Received: (qmail 587 invoked by uid 22791); 26 Aug 2011 15:05:18 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Aug 2011 15:05:04 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LQJ00A00IYOHA00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Fri, 26 Aug 2011 18:05:02 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.21.112]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQJ00AI9J8DB390@a-mtaout23.012.net.il>; Fri, 26 Aug 2011 18:05:02 +0300 (IDT) Date: Fri, 26 Aug 2011 15:05:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 6/7] [python] API for macros: Add docs. In-reply-to: To: Matt Rice Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83obzcfc2l.fsf@gnu.org> References: <1314198654-9008-1-git-send-email-ratmice@gmail.com> <1314198654-9008-7-git-send-email-ratmice@gmail.com> <83k4a2h8qr.fsf@gnu.org> <831uw9gzro.fsf@gnu.org> <83sjoofo80.fsf@gnu.org> <83r548fka3.fsf@gnu.org> 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: 2011-08/txt/msg00494.txt.bz2 > Date: Fri, 26 Aug 2011 07:06:40 -0700 > From: Matt Rice > Cc: gdb-patches@sourceware.org > > > Then it should be a "list of macro objects specified by their > > addresses". > > I don't like this though.... what you're seeing is just a side-effect > of the python print method. Then your proposal, viz. Return a list of macro objects for all of the macros contained in the symbol table. is the correct one.