From e93a877490b468a2894732ef1d36eba9019a6bb7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 7 Jan 2013 16:40:39 +0000 Subject: PR cli/7719: * NEWS: Update. * ada-valprint.c (printstr, print_field_values): Remove "inspect_it" code. * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" code. * jv-valprint.c (java_print_value_fields): Remove "inspect_it" code. * m2-lang.c (m2_printstr): Remove "inspect_it" code. * main.c (captured_main): Remove "epoch" argument. * objc-lang.c (objc_printstr): Remove "inspect_it" code. * p-lang.c (pascal_printstr): Remove "inspect_it" code. * p-valprint.c (pascal_object_print_value_fields): Remove "inspect_it" code. * printcmd.c (print_command_1): Remove 'inspect' argument. (print_command, call_command): Update. (inspect_command): Remove. (_initialize_printcmd): Make "inspect" an alias for "print". * top.c (epoch_interface): Remove. * top.h (epoch_interface): Remove. * valprint.c (user_print_options): Update. (print_converted_chars_to_obstack): Remove "inspect_it" code. * valprint.h (struct value_print_options) : Remove field. doc * gdb.texinfo (Mode Options): Don't mention -epoch. (Data, Emacs): Remove obsolete comments. --- gdb/valprint.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gdb/valprint.h') diff --git a/gdb/valprint.h b/gdb/valprint.h index 493f627..ae28803 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -66,9 +66,6 @@ struct value_print_options /* Stop printing at null character? */ int stop_print_at_null; - /* True if this value is being printed in an epoch window. */ - int inspect_it; - /* True if we should print the index of each element when printing an array. */ int print_array_indexes; @@ -156,9 +153,10 @@ extern void print_function_pointer_address (const struct value_print_options *op CORE_ADDR address, struct ui_file *stream); -int read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit, - enum bfd_endian byte_order, gdb_byte **buffer, - int *bytes_read); +extern int read_string (CORE_ADDR addr, int len, int width, + unsigned int fetchlimit, + enum bfd_endian byte_order, gdb_byte **buffer, + int *bytes_read); extern void val_print_optimized_out (struct ui_file *stream); -- cgit v1.1