OSDN Git Service

* gdbtypes.c (is_ancestor): Infer type equivalence from name
authornsd <nsd>
Sun, 9 Jul 2000 05:15:50 +0000 (05:15 +0000)
committernsd <nsd>
Sun, 9 Jul 2000 05:15:50 +0000 (05:15 +0000)
commitbd2e99d18bca4ee7e0c620ab5b42471ced05f441
tree6e1345101de4e95d9ef02926478dd730e3ef0bf8
parent4f6d2de39c3c5ebc3940f2a75a179265deb1ca32
* gdbtypes.c (is_ancestor): Infer type equivalence from name
equivalence.
(rank_one_type): Use strcmp instead of == to compare type names.
Don't swap parm with arg when checking TYPE_CODE_REF types.
* valops.c (find_overload_match): Fix indentation.  Compare
parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
and 100.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/valops.c