From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16998 invoked by alias); 17 Sep 2002 17:33:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16990 invoked from network); 17 Sep 2002 17:33:04 -0000 Received: from unknown (HELO mail.onlysmart.com) (202.138.104.4) by sources.redhat.com with SMTP; 17 Sep 2002 17:33:04 -0000 Received: from homecomp ([202.138.105.168]) by mail.onlysmart.com (8.10.1/8.10.1) with SMTP id g8HHOrr12695 for ; Tue, 17 Sep 2002 22:54:53 +0530 Message-ID: <00a101c25e70$2c2670a0$a8698aca@homecomp> From: "Piyush Deva" To: Subject: MI interface Date: Tue, 17 Sep 2002 10:33:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-SW-Source: 2002-09/txt/msg00227.txt.bz2 Hello everyone, This is my first time at the gdb mailing list so please excuse any mistakes. I just checked out the mi interface of gdb 5.2.1 on a windows system and i have a question about the mi interface. Why does gdb redirect the stdout to itself? I mean due to this all programs parsing the gdb output to a gui have to figure out some way to output the stdout's (now gdb's) output to a custom console window so that the user feels that he is working in his own created console. One cant possibly show him the gdb window and let him work on that as that would make him encounter the gdb messages from time to time and thus destroy the purpose of building a gui for gdb. I didnt notice such a thing in gdb 5.1.1 (mingw build) , where using the mi interpreter DID create a new console window so i was content with just parsing gdb's mi output. I would really like to why such a desicion to redirect stdout/in to gdb was taken with gdb 5.2.1 PRASHANT