From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Neo Jia <neojia@gmail.com>, gdb ml <gdb@sourceware.org>
Subject: Re: gdb plugin status?
Date: Thu, 07 Aug 2008 19:06:00 -0000 [thread overview]
Message-ID: <1218135824.11103.6.camel@localhost.localdomain> (raw)
In-Reply-To: <m3prokhdus.fsf@fleche.redhat.com>
On Thu, 2008-08-07 at 12:36 -0600, Tom Tromey wrote:
> >>>>> "Neo" == Neo Jia <neojia@gmail.com> writes:
>
> Neo> I just build it. Is there any example to use this plugin? Can I source
> Neo> in a python script?
>
> There are a couple examples in the gdb or gdb-patches list archives.
> Here's one I happen to have right away:
>
> http://sourceware.org/ml/gdb/2008-03/msg00201.html
>
> We do need more examples, and a standard library of scripts.
>
> Neo> BTW, would it be better to change the python prompt to ">>>"?
>
> You mean when entering a multi-line 'python' script?
> Either way is fine by me.
That script is a little bit outdated in two ways:
1. Some of the gdb.Frame methods had slight name changes since then;
2. The kludge it uses to create a gdb command tied to a python script is
not necessary anymore, there's a proper command interface now.
But it's a good starting point nevertheless.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
next prev parent reply other threads:[~2008-08-07 19:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-03 17:11 Neo Jia
2008-08-03 17:31 ` Daniel Jacobowitz
2008-08-03 17:43 ` Neo Jia
2008-08-03 21:53 ` Thiago Jung Bauermann
2008-08-03 21:56 ` Thiago Jung Bauermann
[not found] ` <5d649bdb0808040042o34b759edxe6c11e16588214f6@mail.gmail.com>
2008-08-04 14:28 ` Thiago Jung Bauermann
2008-08-05 7:33 ` Neo Jia
2008-08-05 13:47 ` Thiago Jung Bauermann
[not found] ` <5d649bdb0808051553g6ee22cbfr80cfa43cd56e870c@mail.gmail.com>
2008-08-06 3:27 ` Thiago Jung Bauermann
2008-08-06 4:40 ` Tom Tromey
2008-08-06 5:44 ` Thiago Jung Bauermann
2008-08-06 20:37 ` Tom Tromey
2008-08-06 20:46 ` Thiago Jung Bauermann
2008-08-07 7:11 ` Neo Jia
2008-08-07 18:37 ` Tom Tromey
2008-08-07 19:06 ` Thiago Jung Bauermann [this message]
2008-08-12 15:25 ` Thiago Jung Bauermann
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=1218135824.11103.6.camel@localhost.localdomain \
--to=bauerman@br.ibm.com \
--cc=gdb@sourceware.org \
--cc=neojia@gmail.com \
--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