Allow upcasts in gdb::ref_ptr This patch changes gdb::ref_ptr to allow upcasts. I.e., after this patch, ref_ptr<Derived> can be cast to ref_ptr<Base>. Approved-By: Andrew Burgess <aburgess@redhat.com>