Eliminate 'is_ancestor' redundant code.
authorSami Wagiaalla <swagiaal@redhat.com>
Tue, 12 Oct 2010 20:58:17 +0000 (20:58 +0000)
committerSami Wagiaalla <swagiaal@redhat.com>
Tue, 12 Oct 2010 20:58:17 +0000 (20:58 +0000)
commit0526b37ab5b8f8ba89f8ea4d4d86522fc4bd807c
treefc7c6c34f0b33af883deca3990f190b585609e23
parentbb32aa18f665d94c71dbc358f1a39835c86796bf
Eliminate 'is_ancestor' redundant code.

2010-10-12  Sami Wagiaalla  <swagiaal@redhat.com>

* gdbtypes.c (do_is_ancestor): New function.
(is_ancestor): Use do_is_ancestor.
(is_public_ancestor): Use do_is_ancestor.
gdb/ChangeLog
gdb/gdbtypes.c