Tom Tromey
7c71111916
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.
2019-01-03 14:49:19 -07:00
..
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-02 09:32:06 -07:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-02 09:32:06 -07:00
2019-01-03 14:49:18 -07:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-02 16:28:33 -07:00
2019-01-01 10:01:51 +04:00
2019-01-02 09:32:06 -07:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:18 -07:00
2019-01-01 10:01:51 +04:00
2019-01-02 16:28:33 -07:00
2019-01-01 10:01:51 +04:00
2019-01-02 16:28:33 -07:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:18 -07:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:18 -07:00
2019-01-03 14:49:18 -07:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:18 -07:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:19 -07:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:19 -07:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:18 -07:00
2019-01-03 14:49:18 -07:00
2019-01-03 14:49:18 -07:00
2019-01-01 10:01:51 +04:00
2019-01-03 14:49:18 -07:00
2019-01-03 14:49:18 -07:00
2019-01-01 10:01:51 +04:00