PR c++/15401:
authorTom Tromey <tromey@redhat.com>
Wed, 22 May 2013 20:51:49 +0000 (20:51 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 22 May 2013 20:51:49 +0000 (20:51 +0000)
commit5f2e6b00f863fc8f334d2506b96b055ef70394ed
treede025e8ae9b9dc5499d9c750267e9609d6ab2d43
parentc77c0862b26d536f91187c34c510cee96bef1f7a
PR c++/15401:
* c-valprint.c (c_value_print): Use value_addr for
references.  Convert back to reference type with value_ref.
gdb/testsuite
* gdb.cp/class2.cc (main): New local 'aref'.
* gdb.cp/class2.exp: Check printing of 'aref'.
gdb/ChangeLog
gdb/c-valprint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/class2.cc
gdb/testsuite/gdb.cp/class2.exp