public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/27612] New: gdbserver "-" mode incompatible with "--debug"
@ 2021-03-19 14:29 tromey at sourceware dot org
2021-08-06 15:45 ` [Bug server/27612] " tromey at sourceware dot org
2023-09-01 12:43 ` tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2021-03-19 14:29 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27612
Bug ID: 27612
Summary: gdbserver "-" mode incompatible with "--debug"
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I tried to enable gdbserver debug logging with --debug
while also using the "-" stdio mode.
This failed because the debug logs are written to the same
channel as the remote protocol.
One possible fix for this would be to wrap the debug logging
stream in "O" packets. (This wouldn't work in non-stop mode, but
that's a separate problem.)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug server/27612] gdbserver "-" mode incompatible with "--debug"
2021-03-19 14:29 [Bug server/27612] New: gdbserver "-" mode incompatible with "--debug" tromey at sourceware dot org
@ 2021-08-06 15:45 ` tromey at sourceware dot org
2023-09-01 12:43 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2021-08-06 15:45 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27612
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Just writing to stderr might be fine as well.
The linux-low code redirects the inferior's stdout to stderr
to avoid this problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug server/27612] gdbserver "-" mode incompatible with "--debug"
2021-03-19 14:29 [Bug server/27612] New: gdbserver "-" mode incompatible with "--debug" tromey at sourceware dot org
2021-08-06 15:45 ` [Bug server/27612] " tromey at sourceware dot org
@ 2023-09-01 12:43 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-09-01 12:43 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27612
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
Also see bug#30815, which is similar in a way.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-01 12:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 14:29 [Bug server/27612] New: gdbserver "-" mode incompatible with "--debug" tromey at sourceware dot org
2021-08-06 15:45 ` [Bug server/27612] " tromey at sourceware dot org
2023-09-01 12:43 ` 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).