This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix PR python/19438, PR python/18393 - initialize dictionaries
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 23 May 2016 10:21:07 +0100
- Subject: Re: [RFA] Fix PR python/19438, PR python/18393 - initialize dictionaries
- Authentication-results: sourceware.org; auth=none
- References: <1463628849-311-1-git-send-email-tom at tromey dot com>
Tom Tromey <tom@tromey.com> writes:
> 2016-05-18 Tom Tromey <tom@tromey.com>
>
> PR python/19438, PR python/18393:
> * python/py-objfile.c (objfpy_initialize): Initialize self->dict.
> * python/py-progspace.c (pspy_initialize): Initialize self->dict.
>
> 2016-05-18 Tom Tromey <tom@tromey.com>
>
> PR python/19438, PR python/18393:
> * gdb.python/py-progspace.exp: Add "dir" test.
> * gdb.python/py-objfile.exp: Add "dir" test.
We've already done something similar in py-event and py-type. Patch
looks good to me.
--
Yao (éå)