From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15547 invoked by alias); 16 Feb 2005 14:43:48 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15172 invoked from network); 16 Feb 2005 14:43:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 16 Feb 2005 14:43:41 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j1GEhfUM020917 for ; Wed, 16 Feb 2005 09:43:41 -0500 Received: from localhost.redhat.com (vpn50-74.rdu.redhat.com [172.16.50.74]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j1GEheO20088; Wed, 16 Feb 2005 09:43:41 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 725CF7D79; Wed, 16 Feb 2005 09:41:57 -0500 (EST) Message-ID: <42135BB4.8020506@gnu.org> Date: Wed, 16 Feb 2005 20:03:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Bob Rossi Cc: gdb-patches@sources.redhat.com Subject: Re: MI testsuite improvements References: <20050210135229.GB28065@white> <420B8026.2060006@gnu.org> <20050210160954.GA28209@white> <420B9DEC.3060501@gnu.org> <20050210195749.GA28864@white> <420BC978.1030904@gnu.org> <20050211172931.GA30352@white> <420D08DC.3050903@gnu.org> <20050212021913.GA30900@white> <20050215041600.GA3582@white> In-Reply-To: <20050215041600.GA3582@white> Content-Type: multipart/mixed; boundary="------------000007030002010403010304" X-SW-Source: 2005-02/txt/msg00168.txt.bz2 This is a multi-part message in MIME format. --------------000007030002010403010304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 893 Bob Rossi wrote: >>Let me know what you think. If you want the dbg.log files, I can provide >>them. I was kind of looking for an executive summary :-) I've attached a trimmed diff. Two things: - it should't be using --interpreter console ... Can you and/or: add a new -mi-tty command (+test, +doco) and use that; invoke GDB with the --tty=... option. Your call. Either pre-approved (but get thumbs up from Eli on the doco). - can the TTY output be identified in someway? That might make debugging easier, but if it isn't possible I guess we live with that. With that, ok. Andrew PS: Yes, we need to find a place for explaining how to invoke this. Looking at the TUI chapter opening there is: - paragraph stating what TUI is - paragraph stating how to invoke TUI MI's chapter should probably do the same. > Any headway on this? Need some more info? > > Thanks, > Bob Rossi > --------------000007030002010403010304 Content-Type: text/plain; name="x" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="x" Content-length: 776 @@ -41,6 +41,12 @@ (gdb) +102-interpreter-exec console "tty /dev/pts/1" + +102^done + +(gdb) + Executing on host: gcc ../../../src/gdb/testsuite/gdb.mi/mi-console.c -DFAKEARGV -g -lm -o /home/bob/cvs/gdb/original/builddir/gdb/testsuite/gdb.mi/mi-console (timeout = 300) 102-break-delete @@ -128,17 +134,15 @@ (gdb) -PASS: gdb.mi/mi-console.exp: Started step over hello -HelloKFAIL: gdb.mi/mi-console.exp: Hello message (PRMS: gdb/623) - \"! - - +PASS: gdb.mi/mi-console.exp: Testing console output +Hello \"! +PASS: gdb.mi/mi-console.exp: inferior_output:Testing console output 47*stopped,reason="end-stepping-range",thread-id="0",frame={addr="0x080483f1",func="main",args=[],file="../../../src/gdb/testsuite/gdb.mi/mi-console.c",line="14"} (gdb) --------------000007030002010403010304--