public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug server/30815] gdbserver prints debug info unconditionally to stderr
Date: Tue, 04 Mar 2025 14:43:29 +0000 [thread overview]
Message-ID: <bug-30815-4717-EuKcJLIOUF@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-30815-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=30815
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vries at gcc dot gnu.org
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
I've managed to reproduce with gdb as ncurses app.
Terminal 1:
...
$ gdbserver localhost:2345 gdb -tui
Process gdb created; pid = 18849
Listening on port 2345
...
Terminal 2:
...
$ gdb -ex "target remote localhost:2345"
...
0x00007ffff7fe4f00 in _start () from target:/lib64/ld-linux-x86-64.so.2
(gdb) continue
...
Terminal 1: Check for presence of TUI window
Terminal 2: Press ^C, and:
...
(gdb) detach
Detaching from program: target:/usr/bin/gdb, process 18849
Ending remote debugging.
[Inferior 1 (process 18849) detached]
(gdb)
...
Terminal 1: Observe "Detaching from process 18849" in TUI command window:
...
┌─────────────────────────────────────────────────────────────────────────────┐
│ │
│ │
│ │
│ │
│ │
│ [ No Source Available ] │
│ │
│ │
│ │
│ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
None No process In: L?? PC: ??
(gdb) Detaching from process 18849
...
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2025-03-04 14:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 16:22 [Bug server/30815] New: " gdb-ml at jaeckel dot eu
2023-09-01 12:43 ` [Bug server/30815] " tromey at sourceware dot org
2025-03-04 14:43 ` vries at gcc dot gnu.org [this message]
2025-03-04 14:59 ` vries at gcc dot gnu.org
2026-01-25 17:39 ` tromey at sourceware dot org
2026-01-25 17:41 ` tromey at sourceware dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-30815-4717-EuKcJLIOUF@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=gdb-prs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).