* python/py-type.c (typy_strip_typedefs): Don't call check_typedef

outside of TRY_CATCH.
This commit is contained in:
Tom Tromey 2013-02-06 17:05:22 +00:00
parent 7acbc3a0f6
commit bc9abe4a91
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-02-06 Tom Tromey <tromey@redhat.com>
* python/py-type.c (typy_strip_typedefs): Don't call check_typedef
outside of TRY_CATCH.
2013-02-06 Yao Qi <yao@codesourcery.com>
* mi/mi-interp.c: Include "tracepoint.h".

View File

@ -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