mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
7b282c5acc
Python scripting: Add new method Value.referenced_value to gdb.Value which can dereference pointer as well as reference values. * NEWS: Add entry under 'Python scripting' about the new method Value.referenced_value on gdb.Value objects. * python/py-value.c (valpy_referenced_value): New function defining a new method on gdb.Value objects which can dereference pointer and reference values. * testsuite/gdb.python/py-value.cc: Add test case for testing the methodology exposing C++ values to Python. * testsuite/gdb.python/py-value-cc.exp: Add tests testing the methodology exposing C++ values to Python. * testsuite/gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES. * docs/gdb.texinfo (Python API/Values From Inferior): Add description about the new method Value.referenced_value. Add description on how Value.dereference is different (and similar) to Value.referenced_value.
21 lines
715 B
Makefile
21 lines
715 B
Makefile
VPATH = @srcdir@
|
|
srcdir = @srcdir@
|
|
|
|
EXECUTABLES = py-type py-value py-prettyprint py-template py-block \
|
|
py-symbol py-mi py-breakpoint py-inferior py-infthread \
|
|
py-shared python lib-types py-events py-evthreads py-frame \
|
|
py-mi py-pp-maint py-progspace py-section-script py-objfile \
|
|
py-finish-breakpoint py-finish-breakpoint2 py-value-cc
|
|
|
|
MISCELLANEOUS = py-shared-sl.sl py-events-shlib.so py-events-shlib-nodebug.so
|
|
|
|
all info install-info dvi install uninstall installcheck check:
|
|
@echo "Nothing to be done for $@..."
|
|
|
|
clean mostlyclean:
|
|
-rm -f *~ *.o *.ci
|
|
-rm -f core $(EXECUTABLES) $(MISCELLANEOUS)
|
|
|
|
distclean maintainer-clean realclean: clean
|
|
-rm -f Makefile config.status config.log gdb.log gdb.sum
|