diff options
author | Doug Evans <dje@google.com> | 2012-08-10 20:25:50 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-08-10 20:25:50 +0000 |
commit | 96e5de1146522ad853b4cb51ff58fdad6ad79f7d (patch) | |
tree | 987814fa2d8af7ebba3d6def635fe02a4a961f33 /gdb/data-directory | |
parent | 89a52f35ac455f4ea8395433bf99dafb2a03c27c (diff) | |
download | gdb-96e5de1146522ad853b4cb51ff58fdad6ad79f7d.tar.gz |
Add $_memeq, $_regex, $_streq, $_strlen convenience functions.
* NEWS: Document them.
* data-directory/Makefile.in (PYTHON_FILES): Add function/__init__.py,
function/strfns.py.
* python/py-type.c (typy_array_1): New function.
(typy_array): Call it.
(typy_vector): New function.
(type_object_methods): Add "vector".
* python/lib/gdb/function/__init__.py: New file.
* python/lib/gdb/function/strfns.py: New file.
doc/
* gdb.texinfo (Convenience Funs): New node.
(Types In Python): Document Type.vector.
testsuite/
* gdb.python/py-strfns.c: New file.
* gdb.python/py-strfns.exp: New file.
* gdb.python/py-type.exp (test_fields): Add vector tests.
Diffstat (limited to 'gdb/data-directory')
-rw-r--r-- | gdb/data-directory/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in index 87c6dd47047..41947c63d29 100644 --- a/gdb/data-directory/Makefile.in +++ b/gdb/data-directory/Makefile.in @@ -59,7 +59,9 @@ PYTHON_FILES = \ gdb/command/__init__.py \ gdb/command/pretty_printers.py \ gdb/command/prompt.py \ - gdb/command/explore.py + gdb/command/explore.py \ + gdb/function/__init__.py \ + gdb/function/strfns.py FLAGS_TO_PASS = \ "prefix=$(prefix)" \ |