This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [python] acessing struct elements
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 13 Aug 2008 17:36:14 -0300
- Subject: Re: [python] acessing struct elements
- References: <20080429155212.444237503@br.ibm.com> <20080429155304.466637516@br.ibm.com> <20080528212451.GB2969@caradoc.them.org> <m3k5h78j64.fsf@fleche.redhat.com> <1215410598.1795.58.camel@localhost.localdomain> <g7tvla$lck$2@ger.gmane.org> <20080813123732.GA20573@caradoc.them.org>
On Wed, 2008-08-13 at 08:37 -0400, Daniel Jacobowitz wrote:
> It took me a while to find it, but I knew there was an operator for
> this. Take a look at __nonzero__:
>
> http://docs.python.org/ref/customization.html
Thanks for the tip! I'll try it out.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center