From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10742 invoked by alias); 22 Feb 2012 15:07:38 -0000 Received: (qmail 10728 invoked by uid 22791); 22 Feb 2012 15:07:36 -0000 X-SWARE-Spam-Status: No, hits=-7.0 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; Wed, 22 Feb 2012 15:07:02 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1MF6xPU032306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Feb 2012 10:07:00 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q1MF6x9X018060; Wed, 22 Feb 2012 10:06:59 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id q1MF6v8W021965; Wed, 22 Feb 2012 10:06:58 -0500 From: Tom Tromey To: Cristian Zamfir Cc: Subject: Re: Python API iterate through the arguments of a frame References: <3EDCC9ED-AD12-42B4-854E-3404A8EBCF70@epfl.ch> <87obsst5o4.fsf@fleche.redhat.com> Date: Wed, 22 Feb 2012 15:07:00 -0000 In-Reply-To: (Cristian Zamfir's message of "Tue, 21 Feb 2012 23:52:00 +0100") Message-ID: <87wr7eq54e.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/msg00061.txt.bz2 >>>>> "Cristian" == Cristian Zamfir writes: Cristian> Thank you, that would be very useful. Is there a quick way to see the Cristian> names of all available API functions, just in case there are more Cristian> undocumented ones, other than looking into the gdb/python/ directory Cristian> and infer from the Python bindings (e.g., py-block.c)? In addition to the other responses, I'd like to add that we want the documentation to be complete and clear; so please file bugs for any holes or problems you notice. Cristian> I can however still retrieve the name and the value of the symbol when Cristian> loading a core. Is it possible to also get the type? Yes, this information is orthogonal to where the inferior memory comes from. Cristian> warning: core file may not match specified executable file. Cristian> warning: Can't read pathname for load map: Input/output error. These could be a problem, but offhand I can't say what is going on. I'm surprised about the AttributeError. I'm not sure how that could happen. Tom