bash$ gdb a.out (gdb) i xm Xmethods in objfile /usr/local/google/home/dje/ruffies-copy/src/play/gcc-unique_ptr.x64: libstdc++::unique_ptr get operator* libstdc++::unordered_multimap empty size ... (gdb) dis xm (gdb) i xm Xmethods in objfile /usr/local/google/home/dje/ruffies-copy/src/play/gcc-unique_ptr.x64: libstdc++::unique_ptr get operator* libstdc++::unordered_multimap empty size ... I'd expect to see all of these marked as disabled. [Another odd thing is the xmethods are marked as owned by the binary, when one might expect them to be owned by libstdc++.so. That's just an artifact of how they're loaded in my environment.]
The master branch has been updated by Siva Chandra Reddy <sivachandra@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=df2eb078c0a88a44c49de7045a1c163f380a7efc commit df2eb078c0a88a44c49de7045a1c163f380a7efc Author: Siva Chandra <sivachandra@chromium.org> Date: Sat Apr 25 17:10:30 2015 -0700 [PR python/18291] Fix printing of "disabled" status of xmethod matchers. gdb/ChangeLog: PR python/18291 * python/lib/gdb/command/xmethods.py (print_xm_info): Fix typo. Print xmethod matcher status. gdb/testsuite/ChangeLog: PR python/18291 * gdb.python/py-xmethods.exp: Add tests.
patch committed