This further improves this testcase to check the output of
our calls to gdb.lookup_type.
gdb/ChangeLog:
* gdb.python/py-lookup-type.exp (test_lookup_type): Change
the second test to print the name attribute of value
returned by the call to gdb.lookup_type, and adjust
the expected output accordingly.
+2015-01-26 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.python/py-lookup-type.exp (test_lookup_type): Change
+ the second test to print the name attribute of value
+ returned by the call to gdb.lookup_type, and adjust
+ the expected output accordingly.
+
2015-01-25 Mark Wielaard <mjw@redhat.com>
* gdb.arch/i386-bp_permanent.c (standard): New declaration.
proc test_lookup_type { lang type_name } {
gdb_test_no_output "set language ${lang}"
- gdb_test_no_output "python gdb.lookup_type('${type_name}')" \
+ gdb_test "python print(gdb.lookup_type('${type_name}').name)" \
+ "${type_name}" \
"lookup type ${type_name} using language ${lang}"
}