This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC - GDB Python API] New gdb.Architecture class


> Date: Wed, 23 Jan 2013 05:53:04 -0800
> From: Siva Chandra <sivachandra@google.com>
> Cc: gdb-patches@sourceware.org
> 
> Done in the attached patch.

Thanks.

> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -39,6 +39,12 @@ Lynx 178 PowerPC		powerpc-*-lynx*178
>  
>    ** Python 3 is now supported (in addition to Python 2.4 or later)
>  
> +  ** New class gdb.Architecture exposes GDB's internal representation
> +     of architecture in the Python API.
> +
> +  ** New method Frame.architecture returns the gdb.Architecture object
> +     corresponding to the frame's architecture.
> +
>  * New Python-based convenience functions:
>  
>    ** $_memeq(buf1, buf2, length)

This part is OK.

> +@defun Frame.architecture ()
> +Returns the @code{gdb.Architecture} object corresponding to the frame's
> +architecture. @xref{Architectures In Python}
                                               ^
Period is missing here.  Also, please leave 2 spaces between sentences
(here before the "@xref").

OK with that change.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]