public inbox for src-cvs@sourceware.org
help / color / mirror / Atom feed
* gdb and binutils branch value_dynamic_type created. ff519ed3b11d2781e21b668d36674d672eb5ad54
@ 2014-04-07 21:10 sivachandra
0 siblings, 0 replies; only message in thread
From: sivachandra @ 2014-04-07 21:10 UTC (permalink / raw)
To: src-cvs
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, value_dynamic_type has been created
at ff519ed3b11d2781e21b668d36674d672eb5ad54 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ff519ed3b11d2781e21b668d36674d672eb5ad54
commit ff519ed3b11d2781e21b668d36674d672eb5ad54
Author: Siva Chandra <sivachandra@chromium.org>
Date: Fri Mar 21 06:42:50 2014 -0700
[python] Fix gdb.Value.dynamic_type for reference values.
gdb.Value.dynamic_type is supposed to work for reference and pointer
values. However, the value object in the function 'valpy_get_dynamic_type'
was being dereferenced using 'value_ind' irrespective of the value type
being TYPE_CODE_PTR or TYPE_CODE_REF. This patch fixes that to use
'coerce_ref' for TYPE_CODE_REF values.
ChangeLog:
* python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
dereference TYPE_CODE_REF values.
testsuite/
* gdb.python/py-value.c: Improve test case.
* gdb.python/py-value.exp: Add new test.
-----------------------------------------------------------------------
hooks/post-receive
--
gdb and binutils
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-07 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-07 21:10 gdb and binutils branch value_dynamic_type created. ff519ed3b11d2781e21b668d36674d672eb5ad54 sivachandra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).