diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-12 17:26:21 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-11-12 17:26:21 +0000 |
commit | 53342f27db8e8a418ac202335ac2e55af50c1c2f (patch) | |
tree | ce676d5c4c9bedaad60673e5ef3f3960571433a3 /gdb/NEWS | |
parent | 6c8702eb92aa9ebaaf9367e54fa6e392d989c589 (diff) | |
download | gdb-53342f27db8e8a418ac202335ac2e55af50c1c2f.zip gdb-53342f27db8e8a418ac202335ac2e55af50c1c2f.tar.gz gdb-53342f27db8e8a418ac202335ac2e55af50c1c2f.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -8,6 +8,9 @@ -nh Disables auto-loading of ~/.gdbinit, but still executes all the other initialization files, unlike -nx which disables all of them. +* The 'ptype' and 'whatis' commands now accept an argument to control + type formatting. + * Python scripting ** Vectors can be created with gdb.Type.vector. @@ -54,6 +57,18 @@ py [command] (has been deprecated in GDB 7.5), and "info all-registers" should be used instead. +* New options + +set print type methods (on|off) +show print type methods + Control whether method declarations are displayed by "ptype". + The default is to show them. + +set print type typedefs (on|off) +show print type typedefs + Control whether typedef definitions are displayed by "ptype". + The default is to show them. + * MI changes ** Command parameter changes are now notified using new async record |