+2016-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print.
+
2016-02-22 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c: Fix code format issues.
try:
flags = gdb.lookup_type("enum type_flag_value")
except:
- print "Warning: Cannot find enum type_flag_value type."
- print " `struct type' pretty-printer will be degraded"
+ print("Warning: Cannot find enum type_flag_value type.")
+ print(" `struct type' pretty-printer will be degraded")
return
try:
iflags = gdb.lookup_type("enum type_instance_flag_value")
except:
- print "Warning: Cannot find enum type_instance_flag_value type."
- print " `struct type' pretty-printer will be degraded"
+ print("Warning: Cannot find enum type_instance_flag_value type.")
+ print(" `struct type' pretty-printer will be degraded")
return
# Note: TYPE_FLAG_MIN is a duplicate of TYPE_FLAG_UNSIGNED,
# so exclude it from the list we are building.