From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28711 invoked by alias); 18 Sep 2002 18:47:06 -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 28698 invoked from network); 18 Sep 2002 18:47:04 -0000 Received: from unknown (HELO mail.onlysmart.com) (202.138.104.4) by sources.redhat.com with SMTP; 18 Sep 2002 18:47:04 -0000 Received: from homecomp ([202.138.105.219]) by mail.onlysmart.com (8.10.1/8.10.1) with SMTP id g8IIcWr06849; Thu, 19 Sep 2002 00:08:33 +0530 Message-ID: <009301c25f43$aa38c550$db698aca@homecomp> From: "Prashant Deva" To: "Keith Seitz" Cc: "gdb" References: Subject: Re: MI interface Date: Wed, 18 Sep 2002 11:47: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/msg00262.txt.bz2 Does that mean that all people developing a gui right now should switch to gdb v5.1.1? PRASHANT ----- Original Message ----- From: "Keith Seitz" To: "Arjan van Dijk" Cc: "Piyush Deva" ; Sent: Wednesday, September 18, 2002 9:35 PM Subject: Re: MI interface > On Wed, 18 Sep 2002, Arjan van Dijk wrote: > > > >Why does gdb redirect the stdout to itself? I mean due to this all programs > > > > and I would like to know too! > > http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&databas e=gdb&pr=623&return_url=http%3A%2F%2Fsources.redhat.com%2Fcgi-bin%2Fgnatsweb .pl%3Fdatabase%3Dgdb%26category%3Dall%26severity%3Dall%26priority%3Dall%26re sponsible%3Dall%26submitter_id%3Dall%26state%3Dall%26ignoreclosed%3DIgnore%2 520Closed%26class%3Dall%26synopsis%3D%26multitext%3D%26columns%3Dcategory%26 columns%3Dstate%26columns%3Dclass%26columns%3Dresponsible%26columns%3Dsynops is%26displaydate%3DDisplay%2520Current%2520Date%26cmd%3Dsubmit%2520query%26s ortby%3DResponsible%26.cgifields%3Dcolumns%26.cgifields%3Doriginatedbyme%26. cgifields%3Ddisplaydate%26.cgifields%3Dignoreclosed > > Basically the problem is that in order for this to work on a native > target, that target must be async. Right now there are no async native > targets. I hope to correct that when I've got some more cycles. > > This is still a very, very tricky situation, though. While many programs > will work with just this target output, I would suspect that many > applications simply won't work (well) this way. Imagine trying to debug > emacs or vi -- the developer is almost certainly going to want to use a > separate tty for the inferior. Unless the UI developer is willing (or > crazy enough) to implement a terminal emulator in the IDE/GUI, these more > sophisticated programs just aren't going to work properly. > > Keith