This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11792] Provide access to the dynamic type of an object
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 30 Aug 2010 20:30:28 -0000
- Subject: [Bug python/11792] Provide access to the dynamic type of an object
- References: <20100706160015.11792.andre.poenitz@nokia.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-30 20:28 -------
Subject: Bug 11792
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2010-08-30 20:28:32
Modified files:
gdb : ChangeLog
gdb/doc : ChangeLog gdb.texinfo
gdb/python : py-value.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: py-value.exp
Log message:
gdb
2010-08-30 Andre Poenitz <andre.poenitz@nokia.com>
Tom Tromey <tromey@redhat.com>
PR python/11792:
* python/py-value.c (valpy_get_dynamic_type): New function.
(value_object_getset): Add "dynamic_type".
(valpy_get_type): Fail on error.
gdb/doc
PR python/11792:
* gdb.texinfo (Values From Inferior): Document dynamic_type.
gdb/testsuite
PR python/11792:
* gdb.python/py-value.exp (test_subscript_regression): Add
dynamic_type test.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12126&r2=1.12127
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1106&r2=1.1107
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.759&r2=1.760
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-value.c.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2432&r2=1.2433
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-value.exp.diff?cvsroot=src&r1=1.15&r2=1.16
------- Additional Comments From tromey at redhat dot com 2010-08-30 20:30 -------
Fix checked in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|7.1 |7.3
http://sourceware.org/bugzilla/show_bug.cgi?id=11792
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.