From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3280 invoked by alias); 18 Mar 2005 16:05:38 -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 3232 invoked from network); 18 Mar 2005 16:05:34 -0000 Received: from unknown (HELO lakermmtao02.cox.net) (68.230.240.37) by sourceware.org with SMTP; 18 Mar 2005 16:05:34 -0000 Received: from white ([68.9.64.121]) by lakermmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050318160534.SBKP6521.lakermmtao02.cox.net@white>; Fri, 18 Mar 2005 11:05:34 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1DCJyj-0008C9-00; Fri, 18 Mar 2005 11:05:37 -0500 Date: Fri, 18 Mar 2005 16:05:00 -0000 From: Bob Rossi To: Greg Law Cc: gdb@sources.redhat.com Subject: Re: Machine interface Message-ID: <20050318160536.GA31080@white> Mail-Followup-To: Greg Law , gdb@sources.redhat.com References: <423AFB39.6050705@level5networks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423AFB39.6050705@level5networks.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2005-03/txt/msg00186.txt.bz2 On Fri, Mar 18, 2005 at 04:00:57PM +0000, Greg Law wrote: > Hi, > > I'm trying to find some info on GDB/MI. I've read the info pages. They > seem to be half finished, and specifically don't talk about one actually > interfaces with gdb/mi. ie. it doesn't seem to be via stdin of the gdb > processes (typing -break-point at it causes "unknown command" errors. > Do I need to open a socket to it or some such? Or do I just have the MI > syntax wrong? If you start GDB on the command line, you can use GDB the same way you use the CLI, of course with different syntax. The documentation for setting breakpoints in MI mode is here, http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html#SEC250 in particular, try, '-break-insert main' Bob Rossi