]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb
authorTom Tromey <tromey@redhat.com>
Mon, 23 Aug 2010 20:29:19 +0000 (20:29 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 23 Aug 2010 20:29:19 +0000 (20:29 +0000)
commitf9ffd4bb11c401df4c0c5733e946c48d6b295c5e
treee703cf5f4d37e888044a224d8b4a2ce06118e5da
parent9919d93bc70b0ed9bb5991bcf46e4c3ffaa0a3ce
gdb
PR python/11145:
* python/py-value.c: Include expression.h.
(valpy_do_cast): New function.
(valpy_cast): Use it.
(valpy_dynamic_cast): New function.
(valpy_reinterpret_cast): Likewise.
(value_object_methods): Add dynamic_cast, reinterpret_cast.
gdb/doc
PR python/11145:
* gdb.texinfo (Values From Inferior): Document dynamic_cast and
reinterpret_cast methods.
gdb/testsuite
PR python/11145:
* gdb.python/py-value.c (Base, Derived): New types.
(base): New global.
* gdb.python/py-value.exp (test_subscript_regression): Add
dynamic_cast test.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/py-value.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-value.c
gdb/testsuite/gdb.python/py-value.exp