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: [RFA] Fix PR python/19438, PR python/18393 - initialize dictionaries


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 (éå)


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