Copy over fix for fetching dynamic type of a reference from python side.
authorDoug Evans <xdje42@gmail.com>
Sat, 12 Apr 2014 16:09:41 +0000 (09:09 -0700)
committerDoug Evans <xdje42@gmail.com>
Sat, 12 Apr 2014 16:09:41 +0000 (09:09 -0700)
commit0be03e84176ab0077462b84ef236c56a7a0376fd
tree23beb33097129d8c9ff8798ba111f9150c273bed
parentf180a1fb463a6a9ab4a883374120d16770486914
Copy over fix for fetching dynamic type of a reference from python side.

* guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
dereference TYPE_CODE_REF values.

testsuite/
* gdb.guile/scm-value.c: Improve test case.
* gdb.guile/scm-value.exp: Add new test.
gdb/ChangeLog
gdb/guile/scm-value.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-value.c
gdb/testsuite/gdb.guile/scm-value.exp