public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/27427] New: gdb/mi tsv-created response gives extra '\\' 'n' characters at end of message
@ 2021-02-16 9:38 dregon1 at freemail dot hu
2022-05-25 17:59 ` [Bug mi/27427] " tromey at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: dregon1 at freemail dot hu @ 2021-02-16 9:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27427
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=mi -ex "target extended-remote
localhost:1234" -ex "quit"
Result:
$ gdb --interpreter=mi -ex "target extended-remote localhost:1234" -ex "quit"
=thread-group-added,id="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
<http://gnu.org/licenses/gpl.html>\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"
~"<https://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n
<http://www.gnu.org/software/gdb/documentation/>."
~"\n\n"
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
~"Remote debugging using localhost:1234\n"
=tsv-created,name="trace_timestamp",initial="0"\n
$
$ gdb --interpreter=mi -ex "target extended-remote localhost:1234" -ex "quit" |
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 = t s v - c r e a t e d , n a
0001600 m e = " t r a c e _ t i m e s t
0001620 a m p " , i n i t i a l = " 0 "
0001640 \ n \n
0001643
$
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug mi/27427] gdb/mi tsv-created response gives extra '\\' 'n' characters at end of message
2021-02-16 9:38 [Bug mi/27427] New: gdb/mi tsv-created response gives extra '\\' 'n' characters at end of message dregon1 at freemail dot hu
@ 2022-05-25 17:59 ` tromey at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-05-25 17:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27427
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |tromey at sourceware dot org
Target Milestone|--- |11.2
Resolution|--- |FIXED
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This seems to work for gdb 11 and head:
=tsv-created,name="trace_timestamp",initial="0"
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-25 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 9:38 [Bug mi/27427] New: gdb/mi tsv-created response gives extra '\\' 'n' characters at end of message dregon1 at freemail dot hu
2022-05-25 17:59 ` [Bug mi/27427] " tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).