* NEWS: Update.
authorTom Tromey <tromey@redhat.com>
Mon, 12 Nov 2012 17:26:21 +0000 (17:26 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 12 Nov 2012 17:26:21 +0000 (17:26 +0000)
commit53342f27db8e8a418ac202335ac2e55af50c1c2f
treece676d5c4c9bedaad60673e5ef3f3960571433a3
parent6c8702eb92aa9ebaaf9367e54fa6e392d989c589
* NEWS: Update.
* c-typeprint.c (c_type_print_base): Handle print_method and
print_typedefs flags.
* gdbcmd.h (setprinttypelist, showprinttypelist): Declare.
* python/py-type.c (typy_str): Use LA_PRINT_TYPE and raw
options.
* typeprint.c (type_print_raw_options, default_ptype_flags):
Update for new field.s
(whatis_exp): Parse flags.  Use LA_PRINT_TYPE.
(setprinttypelist, showprinttypelist, print_methods,
print_typedefs): New globals.
(set_print_type, show_print_type, set_print_type_methods,
show_print_type_methods, set_print_type_typedefs,
show_print_type_typedefs): New functions.
(_initialize_typeprint): Update documentation.  Add "print
type methods" and "print type typedefs" parameters.
* typeprint.h (struct type_print_options) <print_methods,
print_typedefs>: New fields.
doc
* gdb.texinfo (Symbols): Document "set print type methods",
"set print type typedefs", and flags to ptype and whatis.
gdb/ChangeLog
gdb/NEWS
gdb/c-typeprint.c
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/gdbcmd.h
gdb/python/py-type.c
gdb/typeprint.c
gdb/typeprint.h