This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] add more methods to gdb.Progspace
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org, tromey at redhat dot com
- Date: Tue, 17 Jun 2014 19:41:05 +0300
- Subject: Re: [PATCH] add more methods to gdb.Progspace
- Authentication-results: sourceware.org; auth=none
- References: <1403022790-16464-1-git-send-email-tromey at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Cc: Tom Tromey <tromey@redhat.com>
> Date: Tue, 17 Jun 2014 10:33:10 -0600
>
> There are a number of global functions in the gdb Python module which
> really should be methods on Progspace. This patch adds new methods to
> Progspace and then redefines these globals in terms of these new
> methods. It also adds an Inferior.progspace attribute so that the
> association between inferiors and progspaces is obvious; this lets us
> apply the same treatment to current_progspace.
>
> Built and regtested on x86-64 Fedora 20.
>
> Needs a doc review.
The documentation part is OK. Thanks.