aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r--gdb/objc-lang.c17
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);