From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32644 invoked by alias); 12 Mar 2005 10:30: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 32620 invoked from network); 12 Mar 2005 10:30:02 -0000 Received: from unknown (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org with SMTP; 12 Mar 2005 10:30:02 -0000 Received: from zaretski (tony03-42-6.inter.net.il [80.230.42.6]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id ASG93050 (AUTH halo1); Sat, 12 Mar 2005 12:29:42 +0200 (IST) Date: Sat, 12 Mar 2005 10:30:00 -0000 From: "Eli Zaretskii" To: Bob Rossi Message-ID: <01c526ee$Blat.v2.4$37bafb40@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: bpisupat@cs.indiana.edu, gdb@sources.redhat.com In-reply-to: <20050312000437.GA17327@white> (message from Bob Rossi on Fri, 11 Mar 2005 19:04:37 -0500) Subject: Re: MI starting guide Reply-to: Eli Zaretskii References: <20050312000437.GA17327@white> X-SW-Source: 2005-03/txt/msg00135.txt.bz2 > Date: Fri, 11 Mar 2005 19:04:37 -0500 > From: Bob Rossi > Cc: gdb@sources.redhat.com > > There is no user document that I know of that describes how to write an > FE on top of GDB using the MI interface besides the manual. Sad, but true. Actually, the MI documentation in the manual was once a separate manual which was not compiled into gdb.info. I did some minimal work to integrate it into gdb.texinfo (because I believe that some documentation is better than no documentation), but I won't pretend that the result is in good shape, and I don't know enough about MI to improve those parts of the manual in useful ways. > AFAIK, FE's use fork/exec with GDB and communicate with it over a pipe > like you suggested. Beware, some of the MI commands that the manual says > are there are unimplemented. > > If you want to see some interaction between GDB and another process look > at the gdb.mi testsuite. I'm urging people who work with the MI interface, such as Nick and Bob, to please contribute additions to the manual (either gdb.texinfo or gdbint.texinfo) that describe what you found out during your work that you wish has been there to begin with. There is no better source of useful information than those who actually need it to do some job. If you are unsure how or where best to describe what you think is important, don't hesitate to post your thoughts here and start a discussion. TIA