From fb6a3ed3936ceb4a40d9a3b8ee53ebc561e50431 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 28 Feb 2011 19:38:34 +0000 Subject: * 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. --- gdb/python/python-internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/python/python-internal.h') diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index 49b6acf..d3cb788 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -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; -- cgit v1.1