[PATCH] add more methods to gdb.Progspace

Eli Zaretskii eliz@gnu.org
Tue Jun 17 16:41:00 GMT 2014


> 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.



More information about the Gdb-patches mailing list