summaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-08-10 20:25:50 +0000
committerDoug Evans <dje@google.com>2012-08-10 20:25:50 +0000
commit96e5de1146522ad853b4cb51ff58fdad6ad79f7d (patch)
tree987814fa2d8af7ebba3d6def635fe02a4a961f33 /gdb/NEWS
parent89a52f35ac455f4ea8395433bf99dafb2a03c27c (diff)
downloadgdb-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/NEWS')
-rw-r--r--gdb/NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index d693e64dd8b..942597d7220 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,17 @@
*** Changes since GDB 7.5
+* Python scripting
+
+ ** Vectors can be created with gdb.Type.vector.
+
+* New Python-based convenience functions:
+
+ ** $_memeq(buf1, buf2, length)
+ ** $_streq(str1, str2)
+ ** $_strlen(str)
+ ** $_regex(str, regex)
+
* The 'cd' command now defaults to using '~' (the home directory) if not
given an argument.