diff options
author | Tom Tromey <tom@tromey.com> | 2018-12-27 12:16:06 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-03 14:49:19 -0700 |
commit | 7c711119166fc1c60c756059f39c6703d57eedbf (patch) | |
tree | 457116b24660a941d567a9cc8372d84bc483b6ec /gprof/ChangeLog-2013 | |
parent | 1b20edf043c62759a4c78e40b03846e9bafd584c (diff) | |
download | gdb-7c711119166fc1c60c756059f39c6703d57eedbf.zip gdb-7c711119166fc1c60c756059f39c6703d57eedbf.tar.gz gdb-7c711119166fc1c60c756059f39c6703d57eedbf.tar.bz2 |
Avoid questionable casts in py-symtab.c
py-symtab.c has some questionable casts of Py_None to symtab_object*.
This patch avoids these casts by instead using downcasts at the
appropriate places.
gdb/ChangeLog
2019-01-03 Tom Tromey <tom@tromey.com>
* python/py-symtab.c (salpy_str): Update.
(struct salpy_sal_object) <symtab>: Now a PyObject.
(salpy_dealloc): Update.
(del_objfile_sal): Use gdbpy_ref.
Diffstat (limited to 'gprof/ChangeLog-2013')
0 files changed, 0 insertions, 0 deletions