From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D5473846034; Tue, 16 Feb 2021 09:38:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D5473846034 From: "dregon1 at freemail dot hu" To: gdb-prs@sourceware.org Subject: [Bug mi/27427] New: gdb/mi tsv-created response gives extra '\\' 'n' characters at end of message Date: Tue, 16 Feb 2021 09:38:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dregon1 at freemail dot hu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 09:38:24 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27427 Bug ID: 27427 Summary: gdb/mi tsv-created response gives extra '\\' 'n' characters at end of message Product: gdb Version: 10.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: mi Assignee: unassigned at sourceware dot org Reporter: dregon1 at freemail dot hu Target Milestone: --- Steps to reproduce: 1. in first terminal: gdbserver --multi localhost:1234 2. in second terminal: gdb --interpreter=3Dmi -ex "target extended-remote localhost:1234" -ex "quit" Result: $ gdb --interpreter=3Dmi -ex "target extended-remote localhost:1234" -ex "q= uit" =3Dthread-group-added,id=3D"i1" ~"GNU gdb (GDB) Fedora 10.1-2.fc33\n" ~"Copyright (C) 2020 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted = by law." ~"\nType \"show copying\" and \"show warranty\" for details.\n" ~"This GDB was configured as \"x86_64-redhat-linux-gnu\".\n" ~"Type \"show configuration\" for configuration details.\n" ~"For bug reporting instructions, please see:\n" ~".\n" ~"Find the GDB manual and other documentation resources online at:\n=20=20= =20 ." ~"\n\n" ~"For help, type \"help\".\n" ~"Type \"apropos word\" to search for commands related to \"word\".\n" ~"Remote debugging using localhost:1234\n" =3Dtsv-created,name=3D"trace_timestamp",initial=3D"0"\n $ $ gdb --interpreter=3Dmi -ex "target extended-remote localhost:1234" -ex "q= uit" | od -t c | tail 0001440 f o r c o m m a n d s r e 0001460 l a t e d t o \ " w o r d \ 0001500 " . \ n " \n ~ " R e m o t e d 0001520 e b u g g i n g u s i n g l 0001540 o c a l h o s t : 1 2 3 4 \ n " 0001560 \n =3D t s v - c r e a t e d , n a 0001600 m e =3D " t r a c e _ t i m e s t 0001620 a m p " , i n i t i a l =3D " 0 " 0001640 \ n \n 0001643 $ --=20 You are receiving this mail because: You are on the CC list for the bug.=