From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29609 invoked by alias); 7 Feb 2003 15:10:41 -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 29599 invoked from network); 7 Feb 2003 15:10:40 -0000 Received: from unknown (HELO white) (68.14.146.65) by 172.16.49.205 with SMTP; 7 Feb 2003 15:10:40 -0000 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 18hA9H-0002DQ-00 for ; Fri, 07 Feb 2003 10:10:39 -0500 Date: Fri, 07 Feb 2003 15:10:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: Re: GDB/MI & CLI commands Message-ID: <20030207151039.GD7980@white> Mail-Followup-To: gdb@sources.redhat.com References: <20030207145557.GC7980@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030207145557.GC7980@white> User-Agent: Mutt/1.3.28i X-SW-Source: 2003-02/txt/msg00149.txt.bz2 Please forgive my ignorance. It works when -O2 isn't used during the compile. However, I would like to confirm that GDB/MI is supposed to accept CLI commands. On Fri, Feb 07, 2003 at 09:55:57AM -0500, Bob Rossi wrote: > Is GDB/MI supposed to accept all CLI commands? > > If so, does gdb-5.3 or cvs do it? I know the documentation says that it > accepts CLI commands for Debug purposes only, however, reading through > the mailing lists, it looks like GDB/MI is supposed to accept CLI > commands. > > If I debug a small main program and then type > b main > r > then the debugger will stop at the main. > > If I debug a larger program and type the same commands, gdb never stops > at the main subprogram. > > Does anyone know why? Is this a bug? > > Thanks, > Bob Rossi