From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8760 invoked by alias); 27 Sep 2002 18:14:35 -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 8753 invoked from network); 27 Sep 2002 18:14:34 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 27 Sep 2002 18:14:34 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4361E3D39; Fri, 27 Sep 2002 14:14:29 -0400 (EDT) Message-ID: <3D94A005.2070809@redhat.com> Date: Fri, 27 Sep 2002 11:14:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Keith Seitz Cc: gdb@sources.redhat.com Subject: Re: MI questions from eclipse.org References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00479.txt.bz2 > =================== GDB/MI issues ====================== >> * What's the formal syntax for passing parameters: >> ex: >> -environment-directory "/home/alain:/tmp" >> &"Warning: /home/alain/\"/home/alain: No such file or directory.\n" >> &"Warning: /tmp\": No such file or directory.\n" >> ^done >> >> If my paths contains spaces or ':'? >> - quotes >> - escaping > > > Ok, this is probably something that needs to be straightened out in MI and > GDB. Spaces don't seem to work no matter what. Ditto for ":", both of > which seemed to be reserved for the dir command. (The MI command > "-environment-directory" just invokes "dir %s". This is probably a large > part of the problem.) Actually, this looks like a bug. -environment-directory likely isn't using the MI argument parser (which would have stripped off the ``"''). A quick check shows: ac131313@nettle$ grep environment-directory *.c mi-cmds.c: {"environment-directory", "dir %s", 0}, so yes, it isn't yet a true MI command :-( Andrew