diff options
author | Doug Evans <dje@google.com> | 2012-08-10 20:26:00 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-08-10 20:26:00 +0000 |
commit | a72c32530ec5ee0b1baf366ba99db5f2e83681cb (patch) | |
tree | e66eca144d70a1fbe48eac3bf97ea1cb74a97ba9 /gdb/ChangeLog | |
parent | 200bc880f4ba86e027c4f45cbc912f494da768f2 (diff) | |
download | gdb-a72c32530ec5ee0b1baf366ba99db5f2e83681cb.zip gdb-a72c32530ec5ee0b1baf366ba99db5f2e83681cb.tar.gz gdb-a72c32530ec5ee0b1baf366ba99db5f2e83681cb.tar.bz2 |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8de8ba7..1a31059 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +2012-08-10 Doug Evans <dje@google.com> + + 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. + 2012-08-10 Siddhesh Poyarekar <siddhesh@redhat.com> * python/py-type.c (convert_field): Use gdb_py_long_from_longest |