From: Doug Evans <dje@google.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Add support for the GDB Python Library
Date: Thu, 27 May 2010 01:54:00 -0000 [thread overview]
Message-ID: <AANLkTimKM4FW662vdoqmTfLilZXwVqOCOkfIYMKqfVXx@mail.gmail.com> (raw)
In-Reply-To: <1274918921-23200-1-git-send-email-brobecker@adacore.com>
On Wed, May 26, 2010 at 5:08 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> Hello,
>
> One of the things that we still don't have in the FSF tree is a "GDB
> Python Library" - that is a collection of standard Python scripts that
> come with GDB. The idea is to help future contributions but setting
> things up so that it's easy to add new python-based commands/functions/
> features, etc.
>
> This is what this couple of patches provide:
> - Patch #1: Defines a pythondir where the GDB Python library is
> expected to be found, and enhances the GDB/python support to
> look for them there.
> - Path #2: is built on top of patch #1, and provides the first
> such python patch. We selected one form project archer that
> might be useful: pahole.py.
Is there a reason to not make pythondir be $(GDB_DATADIR)/python or some such?
[I'm not sure to what extent .pyc files are architecture independent.
Is that it?]
next prev parent reply other threads:[~2010-05-27 1:24 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 0:09 Joel Brobecker
2010-05-27 0:09 ` [RFA/python:2/2] First script in GDB python library - command/pahole.py Joel Brobecker
2010-05-27 20:37 ` Tom Tromey
2010-05-28 1:34 ` Joel Brobecker
2010-06-03 0:11 ` Joel Brobecker
2010-06-03 6:28 ` Doug Evans
2010-06-03 15:35 ` Joel Brobecker
2010-07-11 18:49 ` Tom Tromey
2010-05-27 0:25 ` [RFA/python:1/2] Add support for --with-pythondir Joel Brobecker
2010-05-27 6:49 ` Doug Evans
2010-05-27 20:32 ` Tom Tromey
2010-05-28 9:55 ` Doug Evans
2010-05-28 17:20 ` Joel Brobecker
2010-05-30 17:10 ` Doug Evans
2010-06-01 20:15 ` Joel Brobecker
2010-06-01 20:39 ` Doug Evans
2010-06-01 20:53 ` Joel Brobecker
2010-05-27 1:54 ` Doug Evans [this message]
2010-05-27 3:42 ` Add support for the GDB Python Library Doug Evans
2010-05-27 15:17 ` Joel Brobecker
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=AANLkTimKM4FW662vdoqmTfLilZXwVqOCOkfIYMKqfVXx@mail.gmail.com \
--to=dje@google.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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