Siva Chandra
7af389b892
[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.
2014-04-07 14:18:44 -07:00
..
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-02-05 19:27:58 -08:00
2014-01-01 07:54:24 +04:00
2014-03-26 21:11:08 +08:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-23 08:03:50 -07:00
2014-01-01 07:54:24 +04:00
2014-02-08 10:44:11 +01:00
2014-01-23 08:03:51 -07:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-07 07:11:17 +04:00
2014-01-10 07:57:09 +04:00
2014-01-07 07:11:17 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-02-26 11:04:12 -08:00
2014-02-26 11:04:12 -08:00
2014-02-26 11:04:12 -08:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-13 17:35:56 -08:00
2014-01-13 17:35:56 -08:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-02-19 15:47:45 -08:00
2014-02-19 15:47:45 -08:00
2014-04-07 14:18:44 -07:00
2014-04-07 14:18:44 -07:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00
2014-03-22 02:44:39 -04:00
2014-01-01 07:54:24 +04:00
2014-01-01 07:54:24 +04:00