Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: <Paul_Koning@Dell.com>
To: <cristian.zamfir@epfl.ch>, <tromey@redhat.com>
Cc: <gdb@sourceware.org>
Subject: RE: Python API iterate through the arguments of a frame
Date: Wed, 22 Feb 2012 01:52:00 -0000	[thread overview]
Message-ID: <09787EF419216C41A903FD14EE5506DD0312CD1450@AUSX7MCPC103.AMER.DELL.COM> (raw)
In-Reply-To: <D0F808C0-DC0A-4B88-B548-7202E4F8BFAD@epfl.ch>

>Thank you, that would be very useful.  Is there a quick way to see the names of all >available API functions, just in case there are more undocumented ones, other than looking >into the  gdb/python/ directory and infer from the Python bindings (e.g., py-block.c)?

Standard Python approach: help(xyz) gives you the documentation for xyz.  If xyz is a
class or module, it does that recursively.  So:
  (gdb)  python help(gdb)
will give you all the documentation for everything inside the gdb module.

	paul


  reply	other threads:[~2012-02-22  1:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-21 15:55 Cristian Zamfir
2012-02-21 19:54 ` Tom Tromey
2012-02-21 22:52   ` Cristian Zamfir
2012-02-22  1:52     ` Paul_Koning [this message]
2012-02-22  8:54     ` Joachim Protze
2012-02-22 15:07     ` Tom Tromey
2012-02-22 15:41       ` Cristian Zamfir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09787EF419216C41A903FD14EE5506DD0312CD1450@AUSX7MCPC103.AMER.DELL.COM \
    --to=paul_koning@dell.com \
    --cc=cristian.zamfir@epfl.ch \
    --cc=gdb@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox