Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: Cleber Rosa <crosa@redhat.com>
Cc: gdb <gdb@sourceware.org>
Subject: Re: gdbserver stdout/stderr redirection (or tty)
Date: Sat, 04 Oct 2014 18:59:00 -0000	[thread overview]
Message-ID: <CADPb22Q-gBKT3hYKcTi1fCAMHxKoWEti9zcYJtAJzL7KzgXVVg@mail.gmail.com> (raw)
In-Reply-To: <542D5723.5000608@redhat.com>

On Thu, Oct 2, 2014 at 6:46 AM, Cleber Rosa <crosa@redhat.com> wrote:
> Hi all,
>
> Short story:
>
> While I'm aware that gdbserver is not inteded to be a "daemonized" version
> of gdb itself, I wonder if the absence of input/output redirection[1] in
> gdbserver can be considered a limitation/bug and what is the interest level
> in having that limitation/bug addressed.
>
> Long story:
>
> We're working on a test framework that already provides some initial
> integration with GDB[2].
>
> The architecture used is based on gdbserver+gdb (speaking MI). It starts a
> gdbserver per debugged process, and a gdb process to interact with it using
> MI. If an a noteworthy event occurs, it disconnects gdb from the gdbserver,
> and allows the use to connect to the gdbserver.
>
> This architecture was chosen because a very important requirement is
> allowing users to use *regular*, *unmodified* gdb binaries for this
> interaction.
>
> While this architecture works OK, it does not provide one fundamental
> feature: getting the output (and less importantly for now, input) right.
>
> References:
>
> 1 -
> https://sourceware.org/gdb/current/onlinedocs/gdb/Input_002fOutput.html#Input_002fOutput
> 2 - http://avocado-framework.readthedocs.org/en/latest/DebuggingWithGDB.html

Hi.
I think there is interest in making this work better,
but it would be good to get more details on the capabilities you need.


      reply	other threads:[~2014-10-04 18:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 13:46 Cleber Rosa
2014-10-04 18:59 ` Doug Evans [this message]

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=CADPb22Q-gBKT3hYKcTi1fCAMHxKoWEti9zcYJtAJzL7KzgXVVg@mail.gmail.com \
    --to=dje@google.com \
    --cc=crosa@redhat.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