gdb
authorTom Tromey <tromey@redhat.com>
Wed, 28 Jul 2010 20:50:17 +0000 (20:50 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 28 Jul 2010 20:50:17 +0000 (20:50 +0000)
commit326fd672ca2f8c6b38d1068636702766a1f381b5
tree5a9f191f2f3ba1bafde948b816cb911429a4390b
parent4ac8c4da1d26746d82e7c41e5eb2e9215d10e8a2
gdb
PR python/11060:
* python/py-type.c (typy_legacy_template_argument): New function,
extracted from typy_template_argument.
(typy_template_argument): Use TYPE_TEMPLATE_ARGUMENT.  Return a
value when needed.
gdb/testsuite
PR python/11060:
* gdb.python/py-type.c (Temargs): New template.
(temvar): New variable.
* gdb.python/py-type.exp (test_template): New proc.
gdb/ChangeLog
gdb/python/py-type.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-type.c
gdb/testsuite/gdb.python/py-type.exp