From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25138 invoked by alias); 23 Apr 2012 01:03:13 -0000 Received: (qmail 25129 invoked by uid 22791); 23 Apr 2012 01:03:12 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pb0-f41.google.com (HELO mail-pb0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Apr 2012 01:02:59 +0000 Received: by pbcup15 with SMTP id up15so3227110pbc.0 for ; Sun, 22 Apr 2012 18:02:58 -0700 (PDT) Received: by 10.68.226.5 with SMTP id ro5mr28063700pbc.74.1335142978725; Sun, 22 Apr 2012 18:02:58 -0700 (PDT) Received: from [192.168.1.128] ([115.192.124.24]) by mx.google.com with ESMTPS id na8sm11394047pbc.7.2012.04.22.18.02.55 (version=SSLv3 cipher=OTHER); Sun, 22 Apr 2012 18:02:57 -0700 (PDT) Message-ID: <4F94AA91.3060608@gmail.com> Date: Mon, 23 Apr 2012 01:03:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: gdb@sourceware.org Subject: [Mingw, GDB MI] console redirect question Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00179.txt.bz2 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