From: Marc Khouzam <marc.khouzam@ericsson.com>
To: Bob Rossi <bob@brasko.net>
Cc: Simon Marchi <simon.marchi@polymtl.ca>,
Pedro Alves <palves@redhat.com>,
"gdb@sourceware.org" <gdb@sourceware.org>
Subject: RE: Is there a way to unset inferior-tty?
Date: Tue, 26 Jul 2016 19:22:00 -0000 [thread overview]
Message-ID: <E59706EF8DB1D147B15BECA3322E4BDC22B13A9B@eusaamb103.ericsson.se> (raw)
In-Reply-To: <20160726184303.GB989@xubuntu.brasko.net>
> On Sat, Jul 02, 2016 at 02:04:39PM +0000, Marc Khouzam wrote:
> > > > I think this should just be fixed to work.
> > > >
> > > > The fix should be very similar to this:
> > > >
> > > >
> > > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=811a659a779fdf93293fe1105d99e9db171a8b68
> > > >
> > > > Thanks,
> > > > Pedro Alves
> > >
> > > Hi Marc,
> > >
> > > Here's a patch. If you like it I'll submit it to gdb-patches with
> > > ChangeLog and all.
> >
> > Thanks! Might as well submit it.
> >
> > In the end I moved to a more complete solution for eclipse. Right
> > after an inferior starts, eclipse will reset the tty to a new and
> > valid value; that way, if the user does a 'run', the tty will already
> > be properly set _and_ will direct inferior output to a valid eclipse
> > console.
>
> I do the same thing in CGDB.
Great, that helps confirm this is a good approach.
Do you handle the output of a second inferior?
If the user does 'add-inferior' and then runs it,
I was planning on redirecting that new output to a
new Eclipse console. This is causing me some
trouble though because when the new inferior
starts, I don't know if it was due to a 'run' or
an 'attach', so I'm not sure if I should be expecting
some output or not.
Have you seen this too?
Thanks
next prev parent reply other threads:[~2016-07-26 19:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 18:32 Marc Khouzam
2016-07-01 18:51 ` Pedro Alves
2016-07-02 1:29 ` Simon Marchi
2016-07-02 14:04 ` Marc Khouzam
2016-07-26 18:43 ` Bob Rossi
2016-07-26 19:22 ` Marc Khouzam [this message]
2016-07-26 19:32 ` Bob Rossi
2016-08-11 14:22 ` Bob Rossi
2016-08-11 17:41 ` Pedro Alves
[not found] ` <875b0391-3b94-c3d7-c829-a8c3abb00770@redhat.com>
2016-08-15 19:49 ` Marc Khouzam
2016-08-17 12:14 ` Pedro Alves
2016-08-17 14:07 ` Marc Khouzam
2016-08-11 17:00 ` Pedro Alves
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=E59706EF8DB1D147B15BECA3322E4BDC22B13A9B@eusaamb103.ericsson.se \
--to=marc.khouzam@ericsson.com \
--cc=bob@brasko.net \
--cc=gdb@sourceware.org \
--cc=palves@redhat.com \
--cc=simon.marchi@polymtl.ca \
/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