From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19369 invoked by alias); 21 Feb 2012 15:55:18 -0000 Received: (qmail 19250 invoked by uid 22791); 21 Feb 2012 15:55:15 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Feb 2012 15:54:56 +0000 Received: by wibhj13 with SMTP id hj13so4821569wib.0 for ; Tue, 21 Feb 2012 07:54:54 -0800 (PST) Received-SPF: pass (google.com: domain of zamfir.epfl@gmail.com designates 10.216.138.7 as permitted sender) client-ip=10.216.138.7; Authentication-Results: mr.google.com; spf=pass (google.com: domain of zamfir.epfl@gmail.com designates 10.216.138.7 as permitted sender) smtp.mail=zamfir.epfl@gmail.com Received: from mr.google.com ([10.216.138.7]) by 10.216.138.7 with SMTP id z7mr6742093wei.16.1329839694978 (num_hops = 1); Tue, 21 Feb 2012 07:54:54 -0800 (PST) Received: by 10.216.138.7 with SMTP id z7mr5614807wei.16.1329839694893; Tue, 21 Feb 2012 07:54:54 -0800 (PST) Received: from dslabpc24.epfl.ch (dslabpc24.epfl.ch. [128.178.77.224]) by mx.google.com with ESMTPS id ft8sm23319605wib.11.2012.02.21.07.54.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Feb 2012 07:54:54 -0800 (PST) From: Cristian Zamfir Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Python API iterate through the arguments of a frame Date: Tue, 21 Feb 2012 15:55:00 -0000 Message-Id: <3EDCC9ED-AD12-42B4-854E-3404A8EBCF70@epfl.ch> To: gdb@sourceware.org Mime-Version: 1.0 (Apple Message framework v1257) 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: 2012-02/txt/msg00055.txt.bz2 Hi,=20 I would like to write a Python script that iterates through the arguments o= f a frame. I was hoping I can retrieve these arguments from a Frame object,= but I did not find a way to do this, unless I know the name of the variab= les. Similarly, I would like to iterate through all the locals of the frame. Is this possible with the current Python API? If not, can you please point = me to where I could add additional functions to the Python API?=20 Thank you,=20 Cristi