From: Tom Tromey Date: Wed, 6 Feb 2013 17:05:22 +0000 (+0000) Subject: * python/py-type.c (typy_strip_typedefs): Don't call check_typedef X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc9abe4a9122ac5984bb05ecd895ddeec6c8a67c;p=binutils-gdb.git * python/py-type.c (typy_strip_typedefs): Don't call check_typedef outside of TRY_CATCH. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2445117600f..3c49f961395 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-02-06 Tom Tromey + + * python/py-type.c (typy_strip_typedefs): Don't call check_typedef + outside of TRY_CATCH. + 2013-02-06 Yao Qi * mi/mi-interp.c: Include "tracepoint.h". diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c index 31b77767b9b..051cff07f13 100644 --- a/gdb/python/py-type.c +++ b/gdb/python/py-type.c @@ -423,7 +423,7 @@ typy_strip_typedefs (PyObject *self, PyObject *args) } GDB_PY_HANDLE_EXCEPTION (except); - return type_to_type_object (check_typedef (type)); + return type_to_type_object (type); } /* Strip typedefs and pointers/reference from a type. Then check that