diff options
author | Yao Qi <yao@codesourcery.com> | 2012-11-27 07:59:12 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-11-27 07:59:12 +0000 |
commit | 5edf51feeade2be8b6ab6d49507a6023a6d9a176 (patch) | |
tree | 77f3999c0747055349be11ed3119d56037e78a7a /gas | |
parent | ca242aadec5ec762ae852ae80b67772302c534b8 (diff) | |
download | gdb-5edf51feeade2be8b6ab6d49507a6023a6d9a176.zip gdb-5edf51feeade2be8b6ab6d49507a6023a6d9a176.tar.gz gdb-5edf51feeade2be8b6ab6d49507a6023a6d9a176.tar.bz2 |
gdb/
2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
Yao Qi <yao@codesourcery.com>
* eval.c (evaluate_subexp_standard): Add handling of
TYPE_CODE_MEMBERPTR when calling functions. Correct the
result of ptype for calling a TYPE_CODE_METHODPTR.
gdb/testsuite/
2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
(func): New function.
(main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
* gdb.cp/member-ptr.exp: Add new tests for ptype and for
pointers to members with pointer-to-function type.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions