diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2010-11-04 20:43:25 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2010-11-04 20:43:25 +0000 |
commit | a9d5ef47f3a97fed25e4a5a507b2607e1adc629a (patch) | |
tree | c3e78f94bc101d9e7b62508d356f7b56241bb0ba /etc | |
parent | 6403aeeaa1ebe388c0fc518f02569f9323a79981 (diff) | |
download | gdb-a9d5ef47f3a97fed25e4a5a507b2607e1adc629a.zip gdb-a9d5ef47f3a97fed25e4a5a507b2607e1adc629a.tar.gz gdb-a9d5ef47f3a97fed25e4a5a507b2607e1adc629a.tar.bz2 |
Fix derived class overload problem.
2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdbtypes.h (struct rank): Created subrank.
* gdbtypes.c: Initialized subrank for all
'BADNESS' constants.
(distance_to_ancestor): New function.
(is_ancestor): Use distance_to_ancestor.
(is_public_ancestor): Ditto.
(sum_ranks): Handle subrank.
(compare_ranks): Ditto.
(rank_one_type): Subrank base conversions.
2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/overload.exp: Added test for inheritance
overload.
* gdb.cp/overload.cc: Ditto.
* gdb.cp/oranking.exp: Removed releveant kfails.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions