diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-07 16:40:39 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-07 16:40:39 +0000 |
commit | e93a877490b468a2894732ef1d36eba9019a6bb7 (patch) | |
tree | 04c7a929a95d74c61f5eec5503d03ef34274d308 /gdb/valprint.c | |
parent | f1a133ffb8d8d1c1c2a35cb5e71d1f22712d757c (diff) | |
download | gdb-e93a877490b468a2894732ef1d36eba9019a6bb7.zip gdb-e93a877490b468a2894732ef1d36eba9019a6bb7.tar.gz gdb-e93a877490b468a2894732ef1d36eba9019a6bb7.tar.bz2 |
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) <inspect_it>: Remove
field.
doc
* gdb.texinfo (Mode Options): Don't mention -epoch.
(Data, Emacs): Remove obsolete comments.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r-- | gdb/valprint.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c index b8fdcaa..42dacc5 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -116,7 +116,6 @@ struct value_print_options user_print_options = 0, /* output_format */ 0, /* format */ 0, /* stop_print_at_null */ - 0, /* inspect_it */ 0, /* print_array_indexes */ 0, /* deref_ref */ 1, /* static_field_print */ @@ -2211,8 +2210,6 @@ print_converted_chars_to_obstack (struct obstack *obstack, must output and a comma and a quote. */ if (last != START) obstack_grow_wstr (obstack, LCST (", ")); - if (options->inspect_it) - obstack_grow_wstr (obstack, LCST ("\\")); obstack_grow (obstack, &wide_quote_char, sizeof (gdb_wchar_t)); } /* Output the character. */ @@ -2240,8 +2237,6 @@ print_converted_chars_to_obstack (struct obstack *obstack, { /* We were outputting a single string. Terminate the string. */ - if (options->inspect_it) - obstack_grow_wstr (obstack, LCST ("\\")); obstack_grow (obstack, &wide_quote_char, sizeof (gdb_wchar_t)); } if (last != START) @@ -2272,8 +2267,6 @@ print_converted_chars_to_obstack (struct obstack *obstack, { /* If we were outputting a string of SINGLE characters, terminate the quote. */ - if (options->inspect_it) - obstack_grow_wstr (obstack, LCST ("\\")); obstack_grow (obstack, &wide_quote_char, sizeof (gdb_wchar_t)); } if (last != START) @@ -2294,11 +2287,7 @@ print_converted_chars_to_obstack (struct obstack *obstack, characters, the string must be terminated. Otherwise, REPEAT and INCOMPLETE are always left properly terminated. */ if (last == SINGLE) - { - if (options->inspect_it) - obstack_grow_wstr (obstack, LCST ("\\")); - obstack_grow (obstack, &wide_quote_char, sizeof (gdb_wchar_t)); - } + obstack_grow (obstack, &wide_quote_char, sizeof (gdb_wchar_t)); return; } |