From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3615 invoked by alias); 20 Apr 2002 07:02:36 -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 3507 invoked from network); 20 Apr 2002 07:02:32 -0000 Received: from unknown (HELO frigg.inter.net.il) (192.114.186.16) by sources.redhat.com with SMTP; 20 Apr 2002 07:02:32 -0000 Received: from zaretsky ([80.230.2.40]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id BIO02692; Sat, 20 Apr 2002 10:02:14 +0300 (IDT) Date: Sat, 20 Apr 2002 00:02:00 -0000 From: "Eli Zaretskii" To: gdb@sources.redhat.com Message-Id: <2906-Sat20Apr2002095252+0300-eliz@is.elta.co.il> CC: nick@nick.uklinux.net, rms@gnu.org Subject: Output of CLI commands under --interpreter=mi Reply-to: Eli Zaretskii X-SW-Source: 2002-04/txt/msg00341.txt.bz2 Nick Roberts is working on changing gud.el in Emacs to use the GDB/MI interface instead of the current --fullname option. I think it's a terrific move, but there's a snag which I believe should be hit by almost any front end to GDB: the MI output format. The problem is that a front end, certainly the GUD, should be able to let the user type the normal CLI commands as well. GDB/MI does accept CLI input (and should continue doing so), but the output is always in MI format, which is unpalatable to humans. Is it possible to change GDB/MI so that CLI commands get responded with the CLI-style output, while MI commands get the MI style output? TIA