OSDN Git Service

2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
authorbauermann <bauermann>
Thu, 16 Oct 2008 03:53:58 +0000 (03:53 +0000)
committerbauermann <bauermann>
Thu, 16 Oct 2008 03:53:58 +0000 (03:53 +0000)
commit50173e82dc10fb279ffd39fba1c2970c699ae3f3
tree4a87c988ce961fda4c1c00939760ad66a0db8eb1
parent5976355852c02b4516e369d9112af9d165e987fb
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.
13 files changed:
gdb/Makefile.in
gdb/configure
gdb/configure.ac
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/python-internal.h
gdb/python/python.c
gdb/python/python.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python-value.c [new file with mode: 0644]
gdb/testsuite/gdb.python/python-value.exp [new file with mode: 0644]
gdb/value.c
gdb/value.h