aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbcmd.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-12 17:26:21 +0000
committerTom Tromey <tromey@redhat.com>2012-11-12 17:26:21 +0000
commit53342f27db8e8a418ac202335ac2e55af50c1c2f (patch)
treece676d5c4c9bedaad60673e5ef3f3960571433a3 /gdb/gdbcmd.h
parent6c8702eb92aa9ebaaf9367e54fa6e392d989c589 (diff)
downloadbinutils-53342f27db8e8a418ac202335ac2e55af50c1c2f.zip
binutils-53342f27db8e8a418ac202335ac2e55af50c1c2f.tar.gz
binutils-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/gdbcmd.h')
-rw-r--r--gdb/gdbcmd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h
index c7e3a27..b64d294 100644
--- a/gdb/gdbcmd.h
+++ b/gdb/gdbcmd.h
@@ -112,6 +112,10 @@ extern struct cmd_list_element *setprintlist;
extern struct cmd_list_element *showprintlist;
+extern struct cmd_list_element *setprinttypelist;
+
+extern struct cmd_list_element *showprinttypelist;
+
extern struct cmd_list_element *setdebuglist;
extern struct cmd_list_element *showdebuglist;