* python/python.c (gdbpy_value_cst): New global.
(_initialize_python): Initialize it. * python/python-internal.h (gdbpy_value_cst): Declare. * python/py-value.c (convert_value_from_python): Use gdbpy_value_cst.
This commit is contained in:
parent
9bb4c1bb7e
commit
fb6a3ed393
4 changed files with 12 additions and 2 deletions
|
@ -271,6 +271,7 @@ extern PyObject *gdbpy_children_cst;
|
|||
extern PyObject *gdbpy_to_string_cst;
|
||||
extern PyObject *gdbpy_display_hint_cst;
|
||||
extern PyObject *gdbpy_enabled_cst;
|
||||
extern PyObject *gdbpy_value_cst;
|
||||
|
||||
/* Exception types. */
|
||||
extern PyObject *gdbpy_gdb_error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue