[Bug libstdc++/65839] xmethods need updating once gdb decides how to fix 18285
devans at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 29 22:51:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65839
--- Comment #4 from devans at gcc dot gnu.org ---
Author: devans
Date: Wed Apr 29 22:50:31 2015
New Revision: 222599
URL: https://gcc.gnu.org/viewcvs?rev=222599&root=gcc&view=rev
Log:
PR libstdc++/65839
* python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
Replace all lookups of "bool" with this.
(get_std_size_type): New function. Replace all lookups of std::size_t
with this.
(*Worker): New method get_result_type.
(DequeWorkerBase.__init__): New arg val_type. All callers updated.
(ListWorkerBase.__init__): New arg val_type. All callers updated.
(UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
Delete setting of name, enabled.
(UniquePtrDerefWorker.__init__): New arg elem_type. All callers
updated. Delete setting of name.
(UniquePtrMethodsMatcher): Rewrite for consistency with all other
libstdc++ xmethod matchers.
* testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
* testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
* testsuite/libstdc++-xmethods/deque.cc: Ditto.
* testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
* testsuite/libstdc++-xmethods/list.cc: Ditto.
* testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
* testsuite/libstdc++-xmethods/vector.cc: Ditto.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/python/libstdcxx/v6/xmethods.py
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/deque.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/list.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc
trunk/libstdc++-v3/testsuite/libstdc++-xmethods/vector.cc
More information about the Gcc-bugs
mailing list