@@ -382,7 +382,8 @@ class ListMethodsMatcher(gdb.xmethod.XMethodMatcher):
def match(self, class_type, method_name):
if not re.match('^std::list<.*>$', class_type.tag):
- return None
+ if not re.match('^std::__cxx11::list<.*>$', class_type.tag):
+ return None
method = self._method_dict.get(method_name)
if method is None or not method.enabled:
return None
@@ -18,9 +18,6 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// List xmethods only recognize the non cxx11 std::list for now.
-#define _GLIBCXX_USE_CXX11_ABI 0
-
#include <list>
int