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/objc-lang.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/objc-lang.c')
-rw-r--r-- | gdb/objc-lang.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index 8ac323d..39f53fb 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -396,10 +396,7 @@ objc_printstr (struct ui_file *stream, struct type *type, { if (in_quotes) { - if (options->inspect_it) - fputs_filtered ("\\\", ", stream); - else - fputs_filtered ("\", ", stream); + fputs_filtered ("\", ", stream); in_quotes = 0; } objc_printchar (string[i], type, stream); @@ -412,10 +409,7 @@ objc_printstr (struct ui_file *stream, struct type *type, { if (!in_quotes) { - if (options->inspect_it) - fputs_filtered ("\\\"", stream); - else - fputs_filtered ("\"", stream); + fputs_filtered ("\"", stream); in_quotes = 1; } objc_emit_char (string[i], type, stream, '"'); @@ -425,12 +419,7 @@ objc_printstr (struct ui_file *stream, struct type *type, /* Terminate the quotes if necessary. */ if (in_quotes) - { - if (options->inspect_it) - fputs_filtered ("\\\"", stream); - else - fputs_filtered ("\"", stream); - } + fputs_filtered ("\"", stream); if (force_ellipses || i < length) fputs_filtered ("...", stream); |