summaryrefslogtreecommitdiff
path: root/gdb/python/py-type.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-02-06 17:05:15 +0000
committerTom Tromey <tromey@redhat.com>2013-02-06 17:05:15 +0000
commitff5886c0480b1220132345e99aed7b222b46e80e (patch)
treee8bb35a8503522640edfd622a10ca50ac80d6e39 /gdb/python/py-type.c
parent7c4fb02d41f78af09698df67e52e8c5b63585104 (diff)
downloadgdb-ff5886c0480b1220132345e99aed7b222b46e80e.tar.gz
* python/py-type.c (typy_strip_typedefs): Don't call check_typedef
outside of TRY_CATCH.
Diffstat (limited to 'gdb/python/py-type.c')
-rw-r--r--gdb/python/py-type.c2
1 files changed, 1 insertions, 1 deletions
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