From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2979 invoked by alias); 5 Jul 2002 20:27:23 -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 2972 invoked from network); 5 Jul 2002 20:27:22 -0000 Received: from unknown (HELO mailrelay1.lanl.gov) (128.165.4.101) by sources.redhat.com with SMTP; 5 Jul 2002 20:27:22 -0000 Received: from ccs-mail.lanl.gov (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (8.11.6/8.11.6/(ccn-5)) with ESMTP id g65KR6629797 for ; Fri, 5 Jul 2002 14:27:06 -0600 Received: from [10.0.1.2] (portal1.lanl.gov [128.165.0.23]) by ccs-mail.lanl.gov (8.11.6/8.11.6/(ccn-5)) with ESMTP id g65KRKO27039 for ; Fri, 5 Jul 2002 14:27:21 -0600 Mime-Version: 1.0 X-Sender: gwatson@localhost Message-Id: Date: Fri, 05 Jul 2002 13:27:00 -0000 To: gdb@sources.redhat.com From: Greg Watson Subject: gdb/mi Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-SW-Source: 2002-07/txt/msg00065.txt.bz2 I have some questions/comments about gdb/mi if someone could help out: 1. I've configure gdb 5.2 with --enable-gdbmi and --with-uiout. However when I run "gdb --interpreter=mi" the initial messages are not in console stream output format, but later messages are. Is this by design? 2. When I run a target program, it's output is not in target stream output format. Should this be the case? 3. The gdb/mi output syntax in the manual does not quite reflect reality. In particular the 'console-stream-output', 'target-stream-output' and 'log-stream-output' rules should be suffixed with 'nl'. Also, I've observed an 'out-of-band-record' appearing after a 'result-record' but the syntax doesn't allow this. I guess it should be something like: output -> (out-of-band-record)* [result-record] (out-of-band-record)* "(gdb)" nl Regards, Greg