]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
PR python/18438
authorDoug Evans <dje@google.com>
Tue, 26 May 2015 23:13:04 +0000 (16:13 -0700)
committerDoug Evans <dje@google.com>
Tue, 26 May 2015 23:13:04 +0000 (16:13 -0700)
commit4ea6efe9365f8a87723fe01a2dd8ddf5cdec1498
tree4b7f62a729813fe82e914f2144df6815ddecb4aa
parentb93fd21dccc2cfa9a335ddba7435a341b49330ae
PR python/18438

gdb/ChangeLog:

* python/py-lazy-string.c (stpy_convert_to_value): Use
gdbpy_gdb_memory_error not PyExc_MemoryError.
(gdbpy_create_lazy_string_object): Ditto.

gdb/testsuite/ChangeLog:

* gdb.python/py-lazy-string.c: New file.
* gdb.python/py-lazy-string.exp: New file.
* gdb.python/py-prettyprint.c (lazystring) <len>: New member.
(main): Update.  Add estring3.
* gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
* gdb.python/py-prettyprint.py (pp_ls): Handle length.
gdb/ChangeLog
gdb/python/py-lazy-string.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-lazy-string.c [new file with mode: 0644]
gdb/testsuite/gdb.python/py-lazy-string.exp [new file with mode: 0644]
gdb/testsuite/gdb.python/py-prettyprint.c
gdb/testsuite/gdb.python/py-prettyprint.exp
gdb/testsuite/gdb.python/py-prettyprint.py