From: Marc Khouzam <marc.khouzam@ericsson.com>
To: "'Noobody'" <mail@noobody.org>,
"'eran.ifrah@gmail.com'" <eran.ifrah@gmail.com>
Cc: "'gdb@sourceware.org'" <gdb@sourceware.org>
Subject: RE: [mingw gdb/mi] Separating debuggee output from MI
Date: Thu, 17 May 2012 14:42:00 -0000 [thread overview]
Message-ID: <F7CE05678329534C957159168FA70DEC5796A8E904@EUSAACMS0703.eamcs.ericsson.se> (raw)
In-Reply-To: <4FB24851.3070105@noobody.org>
> -----Original Message-----
> From: gdb-owner@sourceware.org
> [mailto:gdb-owner@sourceware.org] On Behalf Of Noobody
> Sent: Tuesday, May 15, 2012 8:13 AM
> To: eran.ifrah@gmail.com
> Cc: gdb@sourceware.org
> Subject: Re: [mingw gdb/mi] Separating debuggee output from MI
>
> >By running this command, gdb will create a new console for
> the debugee
> output.
> >i.e. all the redirected IO that you capture in your frontend will
> always be gdb's output.
>
> Hi,
>
> Thanks for the tip!
> I am aware of this option, but I would prefer to be able to handle
> input/output
> from the debugger itself. The problem is that the Windows
> console is not
> exactly very convenient when it comes to handling standard operations
> such as
> copying, pasting, window resizing or similar. Also, keeping
> all the info and
> controls in one window instead of two when debugging would be
> preferrable in my
> opinion.
>
> As such, I've been looking for methods to get hold of the
> debuggees output
> directly (which I probably should have mentioned in the first mail).
>
> The method I have now seems to work fine, but I just know too
> little of
> gdb's
> internals to be able to tell whether this could cause problems in the
> future.
This is a problem that Eclipse users on Windows have been facing for
a while. We got multiple Eclipse bug reports about it. We usually
tell our users to use "set new-console on" as a workaroud.
Your proposed workaround is interesting but I still see it as a
workaround. It would be great if GDB had a integrated fix for this.
Marc
prev parent reply other threads:[~2012-05-17 14:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 6:20 Noobody
2012-05-15 6:44 ` Eran Ifrah
2012-05-15 7:24 ` asmwarrior
[not found] ` <CAAvfv_ABV8dvu56EZ=4c_2R7SzzEXnE6buPddE9u3V-NhgGz9w@mail.gmail.com>
2012-05-15 12:13 ` Noobody
2012-05-17 14:42 ` Marc Khouzam [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=F7CE05678329534C957159168FA70DEC5796A8E904@EUSAACMS0703.eamcs.ericsson.se \
--to=marc.khouzam@ericsson.com \
--cc=eran.ifrah@gmail.com \
--cc=gdb@sourceware.org \
--cc=mail@noobody.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