+2021-02-25 Jan Vrany <jan.vrany@labware.com>
+
+ * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output.
+ (mi_tsv_created): Likewise.
+ (mi_tsv_deleted): Likewise.
+
2021-02-25 Tom de Vries <tdevries@suse.de>
PR symtab/27354
if (tfnum >= 0)
fprintf_unfiltered (mi->event_channel, "traceframe-changed,"
- "num=\"%d\",tracepoint=\"%d\"\n",
+ "num=\"%d\",tracepoint=\"%d\"",
tfnum, tpnum);
else
fprintf_unfiltered (mi->event_channel, "traceframe-changed,end");
target_terminal::ours_for_output ();
fprintf_unfiltered (mi->event_channel, "tsv-created,"
- "name=\"%s\",initial=\"%s\"\n",
+ "name=\"%s\",initial=\"%s\"",
tsv->name.c_str (), plongest (tsv->initial_value));
gdb_flush (mi->event_channel);
if (tsv != NULL)
fprintf_unfiltered (mi->event_channel, "tsv-deleted,"
- "name=\"%s\"\n", tsv->name.c_str ());
+ "name=\"%s\"", tsv->name.c_str ());
else
- fprintf_unfiltered (mi->event_channel, "tsv-deleted\n");
+ fprintf_unfiltered (mi->event_channel, "tsv-deleted");
gdb_flush (mi->event_channel);
}