From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16208 invoked by alias); 23 Apr 2003 11:10:32 -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 16201 invoked from network); 23 Apr 2003 11:10:31 -0000 Received: from unknown (HELO white) (68.14.146.65) by sources.redhat.com with SMTP; 23 Apr 2003 11:10:31 -0000 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 198I90-0003r8-00 for ; Wed, 23 Apr 2003 07:10:30 -0400 Date: Wed, 23 Apr 2003 11:10:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: gdb/mi or annotations detection Message-ID: <20030423111030.GA14799@white> Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2003-04/txt/msg00265.txt.bz2 Hi, How is the front end supposed to detect whether or not it should use annotations or GDB/MI? I think there needs to be a way of doing this besides starting it once for detection/failure for MI, and then starting it again for annotations. Also, what about different versions of MI. As it progresses different versions will have different functionality. How will the front end know what functionality each version has? ex. In the first release of MI there might not be the -symbol-info-linetable command. So, the front end will have to give commands 'info line' over and over. Then, when this command becomes available in the next release, the front end can start using it instead. The front end can not do a 'gdb --version' because usually there are gdb's installed that are cvs snapshots ( debian ). Does anyone have any ideas? Thanks, Bob Rossi