PR exp/11349.
authorPierre Muller <muller@sourceware.org>
Tue, 4 May 2010 06:48:27 +0000 (06:48 +0000)
committerPierre Muller <muller@sourceware.org>
Tue, 4 May 2010 06:48:27 +0000 (06:48 +0000)
commite1c34c5d94deefd6bc672d0058df0bb1513888b6
tree6699b0aea3af81a75dc4126636bc3cb003790c14
parent23c5e64ea49faf9d45f89903bb39ebff7d7e7652
PR exp/11349.
* printcmd.c (x_command): Only dereference once implicitly for
TYPE_CODE_REF.

testsuite dir:
PR exp/11349.
* testsuite/gdb.cp/ref-types.exp: Add test to examine
use a reference local variable.
gdb/ChangeLog
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/ref-types.exp