This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] expose gdb values to python
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 30 Sep 2008 22:38:53 -0700
- Subject: Re: [rfc] expose gdb values to python
- References: <1221199426.24580.26.camel@localhost.localdomain> <m3skrv92wf.fsf@fleche.redhat.com> <20080921042657.GB29631@caradoc.them.org> <gbf491$tv9$1@ger.gmane.org> <20080925114659.GA30878@caradoc.them.org> <gbhfl6$34b$1@ger.gmane.org>
> + gdb_test "python print 'result = ' + str(s\['a'\])" " = 3" "acess element inside struct using 8-bit string name"
> + gdb_test "python print 'result = ' + str(s\[u'a'\])" " = 3" "acess element inside struct using unicode name"
(Humpf, it's getting really hard sometimes to read these tests :-().
Anyway, this forced me to have a heada..., I mean focus, and I noticed
a typo: "acess" -> "access".
--
Joel