Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Matt <mattator@gmail.com>
To: gdb@sourceware.org
Subject: redirect gdbserver stderr/debug vim via gdbserver
Date: Sat, 04 Mar 2017 00:09:00 -0000	[thread overview]
Message-ID: <CADHp1NyMpmcpk1b=JHVrqQUbV3UwG+TwJOyEmMXeOUZrcyG3VA@mail.gmail.com> (raw)

Hi,

I am trying to debug a console application  (neovim) with gdbserver.
 I've tried turning off all debug info from gdbserver (via monitor set
debug/remote-debug ...), yet I still see "Detaching from process"
mixed up with the debugged CLI application. In order to make these
messages disappear, I tried redirecting gdbserver stderr (zsh) to
'temp':
$ gdbserver localhost:7777 ./build/bin/nvim toto 2>temp
on the other side (same computer) I connect with:
$ gdb ./build/bin/nvim
(gdb) target remote :7777
(gdb) c

but then nothing appears on the gdbserver terminal, i.e., I can't see
neovim interface. Why is that ?

Best regards
Matt


             reply	other threads:[~2017-03-04  0:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04  0:09 Matt [this message]
2017-03-07  0:12 ` Simon Marchi
2017-03-07  0:18   ` Matt

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='CADHp1NyMpmcpk1b=JHVrqQUbV3UwG+TwJOyEmMXeOUZrcyG3VA@mail.gmail.com' \
    --to=mattator@gmail.com \
    --cc=gdb@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