aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-02-06 17:05:22 +0000
committerTom Tromey <tromey@redhat.com>2013-02-06 17:05:22 +0000
commitbc9abe4a9122ac5984bb05ecd895ddeec6c8a67c (patch)
treecefb8a18955dc4a14a856646c976e8ec4c420373 /gdb
parent7acbc3a0f60f6e5814c9c0f59bb8d8bf37b7099d (diff)
downloadgdb-bc9abe4a9122ac5984bb05ecd895ddeec6c8a67c.zip
gdb-bc9abe4a9122ac5984bb05ecd895ddeec6c8a67c.tar.gz
gdb-bc9abe4a9122ac5984bb05ecd895ddeec6c8a67c.tar.bz2
* python/py-type.c (typy_strip_typedefs): Don't call check_typedef
outside of TRY_CATCH.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/py-type.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2445117..3c49f96 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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".
diff --git a/gdb/python/py-type.c b/gdb/python/py-type.c
index 31b7776..051cff0 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