diff options
author | Siva Chandra <sivachandra@chromium.org> | 2014-10-16 07:14:13 -0700 |
---|---|---|
committer | Siva Chandra <sivachandra@chromium.org> | 2014-10-24 05:45:06 -0700 |
commit | 3433cfa51f6397231ffe2b2c69298eff89179769 (patch) | |
tree | a23794d36eba05860099cb464be0fb2f152792bb /gdb/ui-file.c | |
parent | 68fcca92b735bb46e38331485ac2e933e5876b83 (diff) | |
download | gdb-3433cfa51f6397231ffe2b2c69298eff89179769.zip gdb-3433cfa51f6397231ffe2b2c69298eff89179769.tar.gz gdb-3433cfa51f6397231ffe2b2c69298eff89179769.tar.bz2 |
Guard a call to TYPE_TARGET_TYPE in gnuv3_pass_by_reference.
gdb/ChangeLog:
* gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
on the arg type of a constructor only if it is of reference type.
gdb/testsuite/ChangeLog:
* gdb.cp/non-trivial-retval.cc: Add a test case.
* gdb.cp/non-trivial-retval.exp: Add a test.
Diffstat (limited to 'gdb/ui-file.c')
0 files changed, 0 insertions, 0 deletions