From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12950 invoked by alias); 8 Jul 2004 23:33:20 -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 12937 invoked from network); 8 Jul 2004 23:33:19 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sourceware.org with SMTP; 8 Jul 2004 23:33:19 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id SAA25648 for ; Thu, 8 Jul 2004 18:53:06 -0400 Received: (from alain@localhost) by smtp.ott.qnx.com (8.8.8/8.6.12) with UUCP id TAA25718 for gdb@sources.redhat.com; Thu, 8 Jul 2004 19:33:17 -0400 Message-Id: <200407082333.TAA25718@smtp.ott.qnx.com> Subject: MI level command To: gdb@sources.redhat.com Date: Thu, 08 Jul 2004 23:33:00 -0000 From: "Alain Magloire" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00086.txt.bz2 Yellow Scenario: We want to know wich level of MI that we are currently working in. This can allow to adjust what MI command to use and how to parse them. Problems: No such command in MI and no GDB variable that we can test via -gdb-show. The version of gdb gdb --version show different things in different distributions, sometimes it is a number based on date etc ... So would a patch implementing -gdb-mi-level ^done,level=1 be a good thing ?