From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12423 invoked by alias); 3 Jul 2014 10:47:02 -0000 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 Received: (qmail 12401 invoked by uid 89); 3 Jul 2014 10:47:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Jul 2014 10:46:59 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1X2eXY-0003RJ-2x from Luis_Gustavo@mentor.com ; Thu, 03 Jul 2014 03:46:56 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 3 Jul 2014 03:46:55 -0700 Received: from [172.30.72.218] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Thu, 3 Jul 2014 03:46:54 -0700 Message-ID: <53B5349C.3020005@codesourcery.com> Date: Thu, 03 Jul 2014 10:47:00 -0000 From: Luis Machado Reply-To: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Sendroiu , "gdb@sourceware.org" Subject: Re: Output stream for monitor commands References: <38d02cf918ba47d0a408ab5cc17bf45c@BLUPR03MB136.namprd03.prod.outlook.com> In-Reply-To: <38d02cf918ba47d0a408ab5cc17bf45c@BLUPR03MB136.namprd03.prod.outlook.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00008.txt.bz2 On 07/03/2014 11:22 AM, Adrian Sendroiu wrote: > Hello, > > When running gdb inside the Eclipse environment, I noticed that the output of the monitor commands goes to the "gdb traces" window, as opposed to all others that go to the "gdb" window. This happens because the qRcmd packet's response uses the gdb_stdtarg stream while the others use gdb_stdout. > > This might come as an issue, because, from the user's point of view, "monitor" is just another command, and it would be expected to see its output together with the output of the other commands. Do you think it's right to assume so? Do you have any suggestions about how this could be fixed? I was thinking that maybe I could implement a gdb command to redirect gdb_stdtarg to gdb_stdout, so that the current behaviour is also preserved. > > Thanks, > Adrian > > There seems to be an ongoing discussion at https://bugs.eclipse.org/bugs/show_bug.cgi?id=208950.