From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129784 invoked by alias); 26 May 2015 21:29:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 129716 invoked by uid 55); 26 May 2015 21:29:14 -0000 From: "devans at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/65839] xmethods need updating once gdb decides how to fix 18285 Date: Tue, 26 May 2015 21:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: devans at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg02178.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65839 --- Comment #5 from devans at gcc dot gnu.org --- Author: devans Date: Tue May 26 21:28:42 2015 New Revision: 223719 URL: https://gcc.gnu.org/viewcvs?rev=223719&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: branches/gcc-5-branch/libstdc++-v3/ChangeLog branches/gcc-5-branch/libstdc++-v3/python/libstdcxx/v6/xmethods.py branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-xmethods/array.cc branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-xmethods/associative-containers.cc branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-xmethods/deque.cc branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-xmethods/forwardlist.cc branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-xmethods/list.cc branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-xmethods/unique_ptr.cc branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-xmethods/vector.cc