New python module gdb.types.

* NEWS: Document it.
	* data-directory/Makefile.in (PYTHON_FILES): Add gdb/types.py.
	* python/lib/gdb/types.py: New file.

	testsuite/
	* lib/gdb-python.exp (gdb_check_python_config): New function.
	* gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
	* gdb.python/lib-types.cc: New file.
	* gdb.python/lib-types.exp: New file.

	doc/
	* gdb.texinfo (Python): Add "Python modules".
	(Types in Python): Add reference to gdb.types section.
	(Python modules): New node.
This commit is contained in:
Doug Evans
2010-10-13 20:08:46 +00:00
parent 577ce03a7c
commit 0e3509dbce
11 changed files with 392 additions and 2 deletions

View File

@@ -51,7 +51,8 @@ SYSCALLS_FILES = \
PYTHON_DIR = python
PYTHON_INSTALL_DIR = $(DESTDIR)/$(GDB_DATADIR)/$(PYTHON_DIR)
PYTHON_FILES = \
gdb/__init__.py
gdb/__init__.py \
gdb/types.py
.PHONY: all
all: stamp-syscalls stamp-python