Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: asmwarrior <asmwarrior@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: [Mingw, GDB MI] console redirect question
Date: Mon, 23 Apr 2012 01:13:00 -0000	[thread overview]
Message-ID: <4F94ACE0.7000904@gmail.com> (raw)
In-Reply-To: <4F94AA91.3060608@gmail.com>

On 2012-4-23 9:04, asmwarrior wrote:
> I'm using GDB MI interface to debug Codeblocks.(Debug Codeblocks under Codeblocks)
> Windows XP, GDB CVS build under MinGW GCC 4.6.x.
> I experience a problem that the debuggee Codeblocks's log message was show in the GDB MI's log.
> This is quite annoying, because the debuggee has many custom log messages mixed with normal GDB MI message.
>
> When I run the command "info terminal", it returned: "This GDB does not control a terminal.\n"
> So, It looks like gdb does not redirect any terminal.
>
> BTW: I do not have such problem when I use GDB CLI interface to debug Codeblocks.
>
> Anyone has experience the same problem?
>
> I would like the debuggee's own log message goes to its own log window.
> (Codeblocks has its own log window, a wxWidgets window to show messages)
>
> Thanks.
>
> Yuanhui Zhang
> Code::blocks developer
>
It looks like this is not the problem of GDB, I just found that I forget to put some program start-up arguments, so by default, the debuggee's log message was going to the console, which is the GDB console.

By passing some arguments, the debuggee's log message will shown in its own window.

Sorry about the noise.


      reply	other threads:[~2012-04-23  1:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23  1:03 asmwarrior
2012-04-23  1:13 ` asmwarrior [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=4F94ACE0.7000904@gmail.com \
    --to=asmwarrior@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