aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2008-10-16 03:54:00 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2008-10-16 03:54:00 +0000
commita08702d64763b3c67aafc3f10b0e077187a8e551 (patch)
tree550e4419773f8ac106aa49ca60dbb72e3eafc4fc /gdb/configure.ac
parenteff85da5fb9149699f6794505c9d81ca24eae754 (diff)
downloadgdb-a08702d64763b3c67aafc3f10b0e077187a8e551.zip
gdb-a08702d64763b3c67aafc3f10b0e077187a8e551.tar.gz
gdb-a08702d64763b3c67aafc3f10b0e077187a8e551.tar.bz2
2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
Tom Tromey <tromey@redhat.com> gdb/ * Makefile.in (SUBDIR_PYTHON_OBS): Add python-value.o. (SUBDIR_PYTHON_SRCS): Add python-value.c. (python-value.o): New target. * configure.ac (CONFIG_OBS): Add python-value.o. (CONFIG_SRCS): Add python/python-value.c * configure: Regenerate. * python-internal.h (value_object_type): Add external declaration. (gdbpy_get_value_from_history, value_to_value_object, convert_value_from_python, gdbpy_initialize_values): Add function prototype. * python/python-value.c: New file. * python/python.c (GdbMethods): Add gdbpy_get_value_from_history. (_initialize_python): Call gdbpy_initialize_values. * python/python.h (values_in_python): Add external declaration. * value.c (value_prepend_to_list, value_remove_from_list): New functions. (preserve_values): Iterate over values_in_python list as well. * value.h (value_prepend_to_list, value_remove_from_list): Add function prototypes. gdb/doc/ * gdb.texinfo. (Values From Inferior): New subsubsection. gdb/testsuite/ * gdb.python/python-value.c: New file. * gdb.python/python-value.exp: New file.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 680fba0..677a6ae 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -624,10 +624,10 @@ if test "${have_libpython}" = yes; then
AC_MSG_RESULT(${PYTHON_CFLAGS})
fi
else
- # Even if Python support is not compiled in, we need to have this file
+ # Even if Python support is not compiled in, we need to have these files
# included in order to recognize the GDB command "python".
- CONFIG_OBS="$CONFIG_OBS python.o"
- CONFIG_SRCS="$CONFIG_SRCS python/python.c"
+ CONFIG_OBS="$CONFIG_OBS python.o python-value.o"
+ CONFIG_SRCS="$CONFIG_SRCS python/python.c python/python-value.c"
fi
AC_SUBST(PYTHON_CFLAGS)